Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

what are differences between UserTransaction and EntityTransaction ?

 
raminaa niilian
Ranch Hand
Posts: 551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for reading my post.


What are different between UserTransaction and EntityTransaction ?

( in context of EJB 3 and JPA )


Thanks
 
Debu Panda
author
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
UserTransaction is provided by JTA and provided by the application server's JTA Transaction Manager that supports global transaction. The EntityTransaction is essentially a high-level abstraction over a resource localJDBC transaction, as opposed to the distributed JTA transaction. EntityTransaction is supposed to be used when JTA transaction is not available outside the container. We discuss this topic in Chapter 9 of the book
 
It is an experimental device that will make my mind that most powerful force on earth! More powerful than this tiny ad!
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!