@Transactional(rollbackFor = Exception.class,transactionManager = "transactionManager")
当抛出异常后进行回滚的设置
最新推荐文章于 2022-05-19 15:18:46 发布
@Transactional(rollbackFor = Exception.class,transactionManager = "transactionManager")