equals
method to allow comparison between the target object and another Transaction object. The equals
method returns true
if the target object and the parameter object both refer to the same global transaction.
equals
Transaction txObj = TransactionManager.getTransaction(); Transaction someOtherTxObj = .. .. boolean isSame = txObj.equals(someOtherTxObj);