添加优化计划。

This commit is contained in:
zhouxy108 2023-06-04 00:05:16 +08:00
parent bcf1a4e5a0
commit 05ce281128

View File

@ -154,6 +154,7 @@ public class SimpleJdbcTemplate {
for (Object[] ps : params) {
i++;
for (int j = 0; j < ps.length; j++) {
// TODO 优化 参考 Spring JDBC StatementCreatorUtils.setValue 方法调用 PreparedStatement 不同的 setXxx 方法
stmt.setObject(j + 1, ps[j]);
}
stmt.addBatch();