摘要: Spring Boot 使用事务非常简单,首先使用注解 @EnableTransactionManagement 开启事务支持后,然后在访问数据库的Service方法上添加注解 @Transactional 便可。 关于事务管理器,不管是JPA还是JDBC等都实现自接口 PlatformTransa 阅读全文
posted @ 2019-07-24 11:45 汤姆汀 阅读(4196) 评论(0) 推荐(0) 编辑