Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to identify weather a transaction is commited or rolled back in case of CMT beans

 
NareshAnkuskani Kumar
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In case of CMT beans transaction starts when a call to the business method is made and the transaction ends when the business method completes. Then how could we identify weather a transaction is commited or rolled back?

for the above mentioned problem

In case of statefulsession beans we can take the help of SessionSynchronization.

what about the case with entity beans?
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!