<id name="accountId" column="`accountId`" type="long"> <generator class="sequence" > <param name="sequence">master.foo_Account_accountId_seq</param> </generator> </id>
This results in Hibernate back-ticks being present in the SELECT:
Hibernate: select nextval ('`master.foo_Account_accountId_seq`')
Maybe related to HHH-8574 ?
Trying this..... <id name="accountId" column="`accountId`" type="long"> <generator class="sequence" > <param name="sequence">master."s2s_Account_accountId_seq"</param> </generator> </id>
Output would be fine if the hibernate back-ticks were not present. But the HBM would not be database Dialect agnostic (which is a goal I try to achieve when possible). Hibernate: select nextval ('`master."s2s_Account_accountId_seq"`')
|