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

Transaction context propagation in Bean managed transactions

 
Sankar Subbiramaniam
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Consider the case where a bean managed transacation has started the transaction. It then calls another Bean, which is also bean managed transaction. Will this bean have the transaction context of the first bean.
2. What happens if the second beans method also has a transaction.start() method. Will a new transaction started or exception raised ?
Please clarify.
Thanks and regards
sankar
 
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!