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 Certification (SCBCD/OCPJBCD) and the fly likes Instances of composite key classes (@IdClass annotation) 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 "Instances of composite key classes (@IdClass annotation)" Watch "Instances of composite key classes (@IdClass annotation)" New topic
Author

Instances of composite key classes (@IdClass annotation)

Kenneth Lomvey
Ranch Hand

Joined: Nov 08, 2008
Posts: 94
We can use the following method to specify a composite primary key class for an Entity class:




When an instance of CompositePK class will be created?
When it will be destroyed?
Instances of CompositePK may be pooled?

Please feel kind to answer above three questions.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Instances of composite key classes (@IdClass annotation)
 
It's not a secret anymore!