hmmm ... i don't know if it helps you ...
But perhaps provide your own dialects and an own IdentifierGenerator could be a possibility?
In your Generator you could do something like
Code:
if ( ((myDialect)dialect).getDatabase() == MyDialect.ORACLE)
...
else
...
In your Generator you could use the built-in-hibernate-generators like used in "IdentifierGeneratorFactory.create".
Like i said ...don't know if it helps you, just a "fast idea" :)
gtx
curio (don't know really much about oracle but wondering that oracle doesn't support autoincrement-fields)
BTW.: For me, not really nice, but possible is to use a sequence and trigger to simulate "autoincrement fields".