提交 2c97e6d0 authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Change TODO to comment about empty batches

上级 1b771559
...@@ -1253,8 +1253,7 @@ public class JdbcPreparedStatement extends JdbcStatement implements ...@@ -1253,8 +1253,7 @@ public class JdbcPreparedStatement extends JdbcStatement implements
try { try {
debugCodeCall("executeBatch"); debugCodeCall("executeBatch");
if (batchParameters == null) { if (batchParameters == null) {
// TODO batch: check what other database do if no parameters are // Empty batch is allowed, see JDK-4639504 and other issues
// set
batchParameters = Utils.newSmallArrayList(); batchParameters = Utils.newSmallArrayList();
} }
batchIdentities = new MergedResultSet(); batchIdentities = new MergedResultSet();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论