This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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


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: 392

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..
 
Have you checked out Aspose?
 
subject: EntityManager Transaction-Scoped/Extended-Scoped behaviour:
 
It's not a secret anymore!