@Transactional(propagation = Propagation.NESTED)
TransactionAspectSupport.currentTransactionStatus().setRollbackOnly();
手动回滚 Transactional
最新推荐文章于 2023-04-23 13:26:09 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
@Transactional(propagation = Propagation.NESTED)
TransactionAspectSupport.currentTransactionStatus().setRollbackOnly();