File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Primary Key Class

 
Benoît de Chateauvieux
Ranch Hand
Posts: 183
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic