Hello,
I have a DB with multiple schemas, each having its own sequence (same name in every schema) and I'm getting the sql to select the next value with Dialect.getSequenceNextValString(). My configuration does specify a certain schema name to be used by default, with the property "hibernate.default_schema", but this is ignored by the actual dialect implementation when creating the sequence value selection sql.
Of course, I can lookup my self the default schema name configured, and append it to the sequence name I pass in to the Dialect, I'm just wondering if this is just the way to do it, or there is another way? or, sometime in the near future, the dialects will take into consideration the default schema configured as well?
I'm using hibernate 3.6.8.
thx in advance.
|