Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

joinTransaction

 
Nikhil Jain
Ranch Hand
Posts: 392
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As per O'Rel EJB, the returned enityManager instance represetns an extended persistence context. If the EntityManagerFactory is JTA Enabled, then we have to explicity enlist EM instance within transaction using joinTransaction.

Why do we have to invoke joinTransaction. Why is'nt the transaction started automatically?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic