GeeCON Prague 2014*
The moose likes Object Relational Mapping and the fly likes GenerationType.AUTO Not Working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "GenerationType.AUTO Not Working" Watch "GenerationType.AUTO Not Working" New topic
Author

GenerationType.AUTO Not Working

Ola Daniel
Ranch Hand

Joined: Jul 27, 2005
Posts: 105
My Entity does not generate Keys automatically. Wat could I be doing wrong... my entity code is as follows:



SCJP 1.4, SCWCD 1.4
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."
- Martin Fowler et al, Refactoring: Improving the Design of Existing Code, 1999
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: GenerationType.AUTO Not Working