会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Hello
The very things that in the moment dampen our moods can later be sources of intense gratification and delight.
博客园
首页
新随笔
联系
订阅
管理
2020年3月8日
@Transactional 注意事项、方法调用
摘要: 1.同一个类中,即A与B在同一类中,A()调用B()方法,A不加 @Transactional 事务注解,B加 @Transactional 事务注解,则B中的事务不起作用,A加事务,才会起作用,B中若将异常捕获,事务也不起作用 @Transactional //A加事务才会起作用 public v
阅读全文
posted @ 2020-03-08 23:57 涂山倩倩
阅读(3977)
评论(0)
推荐(0)
编辑
公告