In connection with {code:xml}<generator class="sequence" > <param name="sequence">master."foo_Account_accountId_seq"</param> </generator>{code}
Maybe we should have: {code:xml} <param name="sequence" quoting="never|auto|outside|replace">master."foo_Account_accountId_seq"</param> {code}
never = hibernate never performs any transform of the data (maybe this should be called "verbatim", the value in XML is what is emitted in SQL) auto = current and existing behaviour (maybe this should be called "legacy" or "compatibility" ?) outside = apply SQL dialect specific quote mark to the outside of the value (without modifying the value itself) replace = substitute hibernate back-tick ` for SQL dialect specific quote mark in pairs of open-close quote so `master`.`foo_Account_accountId_seq` might become [master].[foo_Account_accountId_seq] with some SQL systems that use [] to quote.
Just to clarify SEQUENCE (which is the default kind mechanism for PostgreSQL ) is still broken for me, my Dialect change above only addresses IDENTITY.
|