手动回滚 Transactional
程序员文章站
2022-07-04 22:34:43
...
@Transactional(propagation = Propagation.NESTED)
TransactionAspectSupport.currentTransactionStatus().setRollbackOnly();