public String currentTransactionId ( ) { try { javax . transaction . Transaction txn = txnMgr . getTransaction ( ) ; return txn != null ? txn . toString ( ) : null ; } catch ( SystemException e ) { return null ; } }
Get a string representation of the current transaction if there already is an existing transaction .