SpringBoot事物回滾

1.手動拋出一個異常io 2.經過TransactionAspectSupport.currentTransactionStatus().setRollbackOnly();回滾異常
相關文章
相關標籤/搜索