Ngo Manh Cuong (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=60f4170...
) *commented* on HHH-15609 (
https://hibernate.atlassian.net/browse/HHH-15609?atlOrigin=eyJpIjoiMzlkMj...
)
Re: get schema incorrectly in Hibernate 6.1.4 (
https://hibernate.atlassian.net/browse/HHH-15609?atlOrigin=eyJpIjoiMzlkMj...
)
Now I can resolve problem
It’s becaue previous Hibernate able to work well without revinfo_seq
When I upgrade to Hibernate 6, I try to use hbm2ddl to create revinfo_seq automatically,
but it is generated in public schema
When I try to create it manually, and set high value:
select setval('tests.revinfo_seq', (SELECT MAX(rev) + 100 FROM tests.revinfo));
now it works well
Thanks !
(
https://hibernate.atlassian.net/browse/HHH-15609#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-15609#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100209- sha1:392b984 )