wood burning stoves 2.0*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
wood burning stoves
 
subject: Primary Key Class
 
Similar Threads
Primary key and reflection
Doubt on enthuware answer (II)
Is PrimaryKey class is must in cmp entity bean?
JavaBeat Question
primary key entity bean