Mybatis 百万基本数据插入 事务+ 批处理

开启事务

connection.setAutoCommit(false);

connection.close;

开启批处理

rewriteBatchedStatements=true

https://blog.csdn.net/fengyuyeguirenenen/article/details/124043186

posted @ 2022-06-24 23:07  小幼虫虫  阅读(296)  评论(0)    收藏  举报