spring 事物@Transactional 学习笔记
1、 事物配置: <!-- 使用Annotation自动注册Bean,解决事物失效问题:在主容器中不扫描@Controller注解,在SpringMvc中只扫描@Controller注解。 -->
<context:component-scan base-package="com.power.platform.sell" ><!-- base-package ...
转载
2018-04-10 10:17:07 ·
118 阅读 ·
0 评论