In our project we are using spring boot’s built in hibernate dependencies. We are now updating spring boot 2.7 to 3.0.
On 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 not.
It lists all the sequences correctly except one called “hibernate_sequence” (The exact name in our db. The other names 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. |
|