Hi All!
I think that when the native keygenerator is selected, and the database
supports only sequences, hibernate should automatically use the sequence
keygen. When I created the native keygen I thought native should be the
name for all kinds of native generation.
Correctly speaking we have an "identity" generator and a "sequence"
generator, and both are "native" generators.
I simply dont want to change my mapping file when I change database, and
I think its more logical this way anyway. One other possible feature
would be to specify a "fallback" keygen in hibernate.properties, which
is used when native key-generation is specified, but the database doesnt
support it.
Peace
chris
|