if (localTransaction.inTransaction())
        public void commit() throws SQLException {            try {                if (localTransaction.inTransaction())                    localTransaction.commit();            } catch(ResourceException ex) {                throw new FBSQLException(ex);            }        }