On startup, I'm getting:
INFO InformationExtractorJdbcDatabaseMetaDataImpl - HHH000262: Table not found: User
INFO InformationExtractorJdbcDatabaseMetaDataImpl - HHH000262: Table not found: Container
Caused by: org.hibernate.tool.schema.spi.SchemaManagementException: Attempt to resolve foreign key metadata from JDBC metadata failed to find column mappings for foreign key named [FK750C8EB77CA9281D]
Debugging lead to this place in the code (InformationExtractorJdbcDatabaseMetaDataImpl.processGetTableResults):
So, org.hibernate.boot.model.naming.Identifier.equals is invoked with org.hibernate.boot.model.naming.DatabaseIdentifier as a parameter.
This happens in a 3rd cycle only. Loop goes over all database tables 2 times successfully. (why it does 3 loops is a puzzle to me anyway).