• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTA and Resource Local Entity Manager

 
Amirr Rafique
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ranchers

Anyone please explain difference in JTA and Resource local entity managers

Thanks
 
Jait Thomas
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JTA is container managed and Resource Local is application managed(used by standalone applications mostly). JTA is instantiated with annotation of PersistenceContext where as Resource Local is instantiated with PersistenceUnit.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic