try { if (!localTransaction.inTransaction()) localTransaction.begin(); } catch(ResourceException ex) { throw new FBSQLException(ex); }
ensureTransaction();
        public void executionStarted(AbstractStatement stmt) throws SQLException {            try {                if (!localTransaction.inTransaction())                    localTransaction.begin();            } catch(ResourceException ex) {                throw new FBSQLException(ex);            }        }