Spring的xml的配置
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd"> </beans>
在使用Spring的时候,我们推荐使用注解的方式开发,
在使用Mybatis的时候,我们推荐使用xml的配置方式,因为在Mybatis中,复杂的sql语句使用注解的方式实现不了,故推荐使用xml的配置方式

浙公网安备 33010602011771号