@transactional注解,报错后数据库操作回滚失败解决
1.https://jingyan.baidu.com/article/3a2f7c2e27d51b26afd611ff.html2.https://blog.youkuaiyun.com/lee_star1/article/details/71730107需抛出RuntimeException错误必须是:throw new RuntimeException("回滚");例如:...
原创
2019-11-08 12:01:21 ·
1337 阅读 ·
0 评论