on 09-25-2007 10:58 AM
Hi all,
just a short question: Can the sequence generators be used for any column, or just for surrogate primary keys?
Imho, the JPA specification a little bit unclear on this point, and I'm not sure how SAP implemented this.
regards,
Christian
Hi Christian,
yes, the JPA spec is unclear in this respect. In SAP JPA, you can use the @GeneratedValues annotation to generated id values only.
Best regards,
Adrian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.