Ádám Simon (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5d9c852...
) *updated* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiYmQ0ZTFlMmQz...
) / Bug (
https://hibernate.atlassian.net/browse/HHH-16998?atlOrigin=eyJpIjoiYmQ0ZT...
) HHH-16998 (
https://hibernate.atlassian.net/browse/HHH-16998?atlOrigin=eyJpIjoiYmQ0ZT...
) Schema Validation fails. (
https://hibernate.atlassian.net/browse/HHH-16998?atlOrigin=eyJpIjoiYmQ0ZT...
)
Change By: Ádám Simon (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5d9c852...
)
In our project we are using spring boot’s built in hibernate dependencies with Oracle DB.
We are now updating spring boot 2.7 to 3.0.
One of our test is containing schema validation with hibernate.
There is an issue currently when it wants to validate a sequence that is not existing.
I put the breakpoint in the AbstractSchemaValidator:194
and on the failing sequence (on step back) AbstractSchemaValidator:112 i get the
following:
(Sequence.contributor=”orm”). Looks like the orm made this sequence naming is:
Identifier.key=a_table_name_SEQ, where a_table_name is an existing table, but this seq is
non existent in the db.
It lists (saw them in debugger->namespace->sequences) all the sequences correctly
except one called “hibernate_sequence” (The exact name in our db. The other name
(a_table_name) are made up to not be project specific)
I’m not sure though if it is trying to name this hibernate_sequence to something else or
is it a completely new one.
I’m wondering if there is a setting to not let the validator validate orm created
sequences.
(
https://hibernate.atlassian.net/browse/HHH-16998#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16998#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#100233- sha1:62cfdef )