wood burning stoves 2.0
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 Head First Android this week in the Android 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: 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..
 
Don't get me started about those stupid light bulbs.
 
subject: EntityManager Transaction-Scoped/Extended-Scoped behaviour:
 
It's not a secret anymore!