Transaction rolled back because it has been marked as rollback-only报错源码分析
Transaction rolled back because it has been marked as rollback-only报错源码分析问题根源
问题根源
事务内嵌套事务,内部事务报错被catch,导致不会走rollback流程,而是正常commit。但已经把rollbackonly字段置为true了
所以会走到这里
报出这个错
...
原创
2020-09-16 14:04:28 ·
178 阅读 ·
1 评论