随笔分类 -  SpringBoot

摘要:Spring Boot 使用事务非常简单,首先使用注解 @EnableTransactionManagement 开启事务支持后,然后在访问数据库的Service方法上添加注解 @Transactional 便可。 关于事务管理器,不管是JPA还是JDBC等都实现自接口 PlatformTransa 阅读全文
posted @ 2018-08-29 18:10 请叫我老焦 阅读(1799) 评论(0) 推荐(0)