이 콘텐츠는 선택한 언어로 제공되지 않습니다.
2.7. Transaction Equality
The transaction manager implements the
Transaction
object’s 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.
Transaction txObj = TransactionManager.getTransaction(); Transaction someOtherTxObj = .. .. boolean isSame = txObj.equals(someOtherTxObj);
Transaction txObj = TransactionManager.getTransaction();
Transaction someOtherTxObj = ..
..
boolean isSame = txObj.equals(someOtherTxObj);