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


Win a copy of Spring in Action this week in the Spring 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: