会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Code Job
Looking up the sky while feet ta shi di
首页
联系
管理
2018年4月28日
spring boot jpa 事务管理
摘要: spring boot 对jpa的支持极为方便,基本上不需要作太多配置,只需要加上注解就能支持事务: @Controller @Transactional(rollbackOn = Exception.class) public class TestController { @Autowired TestRepository testRepository; @Reques...
阅读全文
posted @ 2018-04-28 15:13 Arli
阅读(4904)
评论(0)
推荐(0)
编辑
公告