aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Primary Key Class 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 "Primary Key Class" Watch "Primary Key Class" New topic
Author

Primary Key Class

Benoît de Chateauvieux
Ranch Hand

Joined: Aug 10, 2007
Posts: 183
Does anyone know why a Primary Key Class
- must be public
- must have a public no-args constructor
when Entity Class can be protected and have protected no-args constructor ?

Thanks !

Beno�t


SCJP5 | SCBCD5 | SCEA5 Part 1
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Primary Key Class