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的配置方式

posted @ 2022-03-05 21:06  Fu_Zhang  阅读(49)  评论(0)    收藏  举报