A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB Certification (SCBCD/OCPJBCD)
Doubt in JTA & resource-local entity managers
Joined: Mar 13, 2006
Jul 16, 2007 23:07:00
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".
when you really want something, all the universe always conspires in your favour.<br /> <br />SCJP1.5-77%<br />SCWCD-89%
Joined: Sep 18, 2004
Jul 17, 2007 02:37:00
A resource-local entity manager transaction [=>>> application managed EntityManager.]
is mapped to a
resource transaction [==>> Transaction started by EntityManager i.e EntityTransaction]
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.
/** Code speaks louder than words */
I agree. Here's the link:
subject: Doubt in JTA & resource-local entity managers
Doubt on PersistenceContext
JTA transaction or resource-local transaction.
Transaction Scoped Persistence Contexts
Resource Local Transactions
Problem with understanding Transaction Management Demarcation
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014