Register / Login
EJB Certification (OCEEJBD)
Those concept is hard to conquer
posted 8 years ago
hi,all,I found the follwoing concepts are hard to understand and remember,anybody has a better way to describe them or any recommendded articles or chapter references from rancher's SCBCD5's books are appreciated.
transaction-scoped persistence context
extended persistence context
resource-local entity manager
conainer-managed persistence context
Container-managed Transaction-scoped Persistence Context
Container-managed Extended Persistence Context
application-managed persistence contexts
[ April 07, 2008: Message edited by: vitesse wei ]
SCJP 5.0<br />SCWCD1.4<br />SCBCD5
When is a Persistent Context created ?
getTransaction() on transaction-scoped persistence context.
EntityManager Transaction-Scoped/Extended-Scoped behaviour:
find and getReference methods
EntityManager types in JPA