If information_schema.TABLES exists in hibernate_sequence of other databases, SequenceInformationExtractorMariaDBDatabaseImpl does not correctly extract the sequence information of the current database.
In hibernate 5.3.10, the application can start but does not create hibernate_sequence.
In hibernate 5.4.3, the application cannot be started.
I launched your demo spring boot app locally without any problem. I used mariadb locally. Maybe the new version of Hibernate has solved the issue?
So I guessed maybe your dbs contain different sequence names. There is a known bug that in such cases your error comes up. See .
During my testing of your demo, I started from empty dbs and found both sequence names are the same, i.e. ‘hibernate_sequence’. So I can launch it successfully.
Could you run the following SQL command to ensure whether the sequence names are different or not?
Now I understand. You modified the class of SequenceInformationExtractorMariaDBDatabaseImpl to make your app launched. Yeah, this ticket shares the same root cause with and you provided a solution. Thanks.
I found an easy fix to change getQuerySequencesString from
PR created at: . I tested by your demo app. Thanks.