closeOldResultSet();
CommandInterface command = conn.prepareCommand(batchCommands, session);
synchronized (session) {
setExecutingStatement(command);
try {
updateCount = command.executeTransaction();
} finally {
setExecutingStatement(null);
}
}
command.close();