摘要: 1.搭好环境后在beans.xml配置事务管理器 2.在beans.xml开启事务注解驱动 3.在使用服务层的方法前使用@Transactional注解 阅读全文
posted @ 2020-05-03 18:10 努力啊少年 阅读(251) 评论(0) 推荐(0) 编辑