This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
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..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EntityManager Transaction-Scoped/Extended-Scoped behaviour: