aspose file tools*
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 Spring in Action this week in the Spring 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)