Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Doubt in JTA & resource-local entity managers  RSS feed

 
Senthil Kumar
Ranch Hand
Posts: 264
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A resource-local entity manager transaction is mapped to a resource transaction over the resource by the persistence provider.

can some one explain what the spec means by saying "mapped to a resource transaction over the resource by the persistence provider".
 
Shivani Chandna
Ranch Hand
Posts: 380
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A resource-local entity manager transaction [=>>> application managed EntityManager.]

is mapped to a

resource transaction [==>> Transaction started by EntityManager i.e EntityTransaction]

over the

resource [=>>> the entities managed by the entity manager.]

by the persistence provider.
---------------------------

Persistence provider is responsible for taking care of Tx Mapping for the given application managed EntityManager.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!