This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates 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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
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)