public void close() throws SQLException, TransactionException { if (executor != null) { try { isolationLevel.restoreIsolationLevel(executor.getTransaction().getConnection()); } finally { executor.close(false); executor = null; } } }