@Transactional没效果
- 方法上加上@Transactional(rollbackFor = Exception.class)
- try catch 之后,失效,手动回滚TransactionAspectSupport.currentTransactionStatus().setRollbackOnly();
详情见:
原文链接:https://blog.csdn.net/weixin_42324471/article/details/99969418
原文链接:https://www.cnblogs.com/liuzhenlei/p/6777644.html