摘要: 一、配置文件的分工 spring配置文件: 1、配置扫描包,排除Controller、ControllerAdvice 2、导入属性文件 3、数据库连接池的数据源 4、配置事务管理器(datasource属性) 5、开启基于注解的事务<tx:annotation-driven transaction 阅读全文
posted @ 2018-01-18 10:46 咕噜噜zmj 阅读(196) 评论(0) 推荐(0) 编辑