mcf.commit(id);
isc_db_handle committingDbHandle = committingTr.getDbHandle();  try { mcf.commit(id); } catch (GDSException ge) { checkFatalXA(ge, committingDbHandle); log.info("Fatal error committing, ", ge); throw new XAException(XAException.XAER_RMERR); }
    public void commit(Xid id, boolean twoPhase) throws XAException {        if (log!=null) log.debug("Commit called: " + id);        isc_tr_handle committingTr = mcf.getTrHandleForXid(id);        if (committingTr == null) {            throw new XAException("commit called with unknown transaction");        }        if (committingTr == currentTr) {            throw new XAException("commit called with current xid");        }        mcf.commit(id);    }