File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "GenerationType.AUTO Not Working" Watch "GenerationType.AUTO Not Working" New topic

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
I agree. Here's the link:
subject: GenerationType.AUTO Not Working
It's not a secret anymore!