如何在代码中设置回滚点?
Maven引入springframework 5.2.9
设置回滚点
TranscationAspectSupport.currentTransactionStatus().createSavePoint();
回滚
TranscationAspectSupport.currentTransactionStatus().rollbackToSavepoint();
如何在代码中设置回滚点?
Maven引入springframework 5.2.9
设置回滚点
TranscationAspectSupport.currentTransactionStatus().createSavePoint();
回滚
TranscationAspectSupport.currentTransactionStatus().rollbackToSavepoint();