新增DAO批量更新语句,动态ExecutorType指定,新增 defaultBatchSize 批量分批默认大小设定

This commit is contained in:
thinkgem
2022-06-06 23:41:05 +08:00
parent e03991b347
commit 7a4499640c
11 changed files with 76 additions and 99 deletions

View File

@@ -702,6 +702,9 @@ mybatis:
#
# # 是否开启 JDBC 管理事务,默认 Spring 管理事务 v4.2.3
# jdbcTransaction: false
#
# # 批量插入和更新的分批默认大小防止库一次性接受不了太大的sql语句
# defaultBatchSize: 500
# Mapper文件刷新线程
mapper: