statements.remove(stmt); try { if (localTransaction.inTransaction()) localTransaction.commit(); } catch(ResourceException ex) {  try { if (localTransaction.inTransaction()) localTransaction.rollback(); } catch(ResourceException ex1) { throw new FBSQLException(ex1); }  throw new FBSQLException(ex); }
statementCompleted(stmt, true);
        public void statementCompleted(AbstractStatement stmt) throws SQLException {            statements.remove(stmt);            try {                if (localTransaction.inTransaction())                    localTransaction.commit();            } catch(ResourceException ex) {                                try {                    if (localTransaction.inTransaction())                        localTransaction.rollback();                } catch(ResourceException ex1) {                    throw new FBSQLException(ex1);                }                                throw new FBSQLException(ex);            }        }