新增 mybatis.jdbcTransaction 参数,支持 MyBatis 指定 JDBC 事务管理,默认 Spring 管理事务

This commit is contained in:
thinkgem
2021-02-12 23:22:59 +08:00
parent 238102bf80
commit ce1c531580

View File

@@ -492,6 +492,9 @@ mybatis:
# TypeHandlers 扫描基础包,如果多个,用“,”分隔
scanTypeHandlersPackage: ~
# 是否开启 JDBC 管理事务,默认 Spring 管理事务 v4.2.3
jdbcTransaction: false
# Mapper文件刷新线程
mapper:
refresh: