/** * @return the status of a transaction when all we have is its unique name. * If the transaction is not in the local list then we look in the * ObjectStore. * @since JTS 2.1.2. */ public org.omg.CosTransactions.Status getStatus (otid_t txid) throws NoTransaction, SystemException { Uid u = Utility.otidToUid(txid); if (u == null) throw new BAD_PARAM( "otid_t " + jtsLogger.logMesg.getString("com.arjuna.ats.internal.jts.orbspecific.otiderror")); else return getStatus(u); }
/** * @return the status of a transaction when all we have is its unique name. * If the transaction is not in the local list then we look in the * ObjectStore. * @since JTS 2.1.2. */ public org.omg.CosTransactions.Status getStatus (otid_t txid) throws NoTransaction, SystemException { Uid u = Utility.otidToUid(txid); if (u == null) throw new BAD_PARAM( "otid_t " + jtsLogger.i18NLogger.get_orbspecific_otiderror()); else return getStatus(u); }
Status s = OTSManager.factory().getStatus(transactionUid);
Status s = OTSManager.factory().getStatus(transactionUid);