Building DatabaseInformation fails on H2 without DATABASE_TO_UPPER

Description

When setting up Hibernate with

jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1;DATABASE_TO_UPPER=false

as a connection.url and having hibernate.hbm2ddl.auto set to update, the building of DatabaseInformationImpl via

org.hibernate.tool.schema.internal.Helper#buildDatabaseInformation

fails with

This seems to come down to H2 having schema INFORMATION_SCHEMA, but not information_schema. By default, vith the case-sensitivity disabled by DATABASE_TO_UPPER=true, this issue does not manifest itself.

Relevant code seems to be located in H2Dialect.

Environment

None

Status

Assignee

Andrea Boriero

Reporter

Vootele Rotov

Fix versions

Labels

None

backPortable

Backport?

Suitable for new contributors

None

Requires Release Note

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure