Improve Statement.executeBatch implementations.