Expert |
|
Joined: Mon Jan 09, 2006 5:01 pm Posts: 311 Location: Sacramento, CA
|
depends on the native system.
Hibernate's Oracle Dialect will try to use
hibernate_sequence.nextval to get a sequence, and if you haven't created
the sequence "hibernate_sequence" then it will fail.
Others perhaps would use the "identity" field in the database -- ie, MySQL supports auto gen keys when you do an insert, whereby you don't have to pass anything for value in the key.
_________________ -JT
If you find my replies helpful, please rate by clicking 'Y' on them. I appreciate it.
|
|