2.6. The Transaction interface
The JTA standard does not provide a means to obtain the transaction identifier. However, JBoss Transactions provides several ways to view the transaction identifier. Call method toString
to print full information about the transaction, including the identifier. Alternatively you can cast the javax.transaction.Transaction instance to a com.arjuna.ats.jta.transaction.Transaction , then call either method get_uid
, which returns an ArjunaCore Uid representation, or getTxId
, which returns an Xid for the global identifier, i.e., no branch qualifier.