149150151152153154155156157158159
ServerConnection connection = getConnection(); boolean autoCommit = connection.isAutoCommit(); if (autoCommit) { connection.begin(); } try { for (TransactionOperation op : txn) { op.execute(connection);
215216217218219220221222223224225
try { InputStream in = entity.getStream(); boolean autoCommit = connection.isAutoCommit(); if (autoCommit) { connection.begin(); } try { if (replaceCurrent) { connection.clear(contexts);