File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt in JTA & resource-local entity managers

 
Senthil Kumar
Ranch Hand
Posts: 264
  • 0
  • 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
  • 0
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic