mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-06 16:48:24 +08:00
Update TransactionalManager.java
This commit is contained in:
parent
a7cf8f2713
commit
89bb86bc14
@ -75,7 +75,7 @@ public class TransactionalManager {
|
|||||||
return supplier.get();
|
return supplier.get();
|
||||||
|
|
||||||
|
|
||||||
//若存在当前事务,则加入当前事务,若不存在当前事务,则已非事务的方式运行
|
//若存在当前事务,则加入当前事务,若不存在当前事务,则抛出异常
|
||||||
case MANDATORY:
|
case MANDATORY:
|
||||||
if (currentXID != null) {
|
if (currentXID != null) {
|
||||||
return supplier.get();
|
return supplier.get();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user