This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Entity and Persistence Context Association Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Entity and Persistence Context Association" Watch "Entity and Persistence Context Association" New topic
Author

Entity and Persistence Context Association

Amirr Rafique
Ranch Hand

Joined: Nov 14, 2005
Posts: 324
The entity with the states 'Removed' and 'Managed' are associated with a transaction-scoped persistence context. A new entity won't be having persistence identify
and hence it won't be associated with a persistence context, a detached entity as its name reveals, just got detached (or disassociated) from the persistence context.


What does the term 'association' means here. Please explain.

Thanks


"Know where to find the solution and how to use it - that's the secret of success."
 
GeeCON Prague 2014
 
subject: Entity and Persistence Context Association