aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes EntityManager Transaction-Scoped/Extended-Scoped behaviour: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EntityManager Transaction-Scoped/Extended-Scoped behaviour:" Watch "EntityManager Transaction-Scoped/Extended-Scoped behaviour:" New topic
Author

EntityManager Transaction-Scoped/Extended-Scoped behaviour:

Sandeep Vaid
Ranch Hand

Joined: Feb 27, 2006
Posts: 390

Mikalai Zaikin Notes says
"If an entity manager with transaction-scoped persistence context is in use, the resulting
entities will be DETACHED; if an entity manager with an extended persistence context is used,
they will be MANAGED."

Is it a typo "is in use'? Does it wants to says when transaction ends, with transaction-scoped persistence context - the resulting
entities will be DETACHED While if an entity manager with an extended persistence context is used, they will be MANAGED..
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: EntityManager Transaction-Scoped/Extended-Scoped behaviour: