For some reason, the H2 database is not included in the dialect factory map, even though there is a Hibernate dialect available for this database.
Please add the following to org.hibernate.dialect.DialectFactory
MAPPERS.put( "H2", new VersionInsensitiveMapper( "org.hibernate.dialect.H2Dialect" ) );
It sounds like it would be easy to fix this problem?
However I am not sure, if there is anything that can be done on the database side please tell me.
As long as the driver always returns "H2" for java.sql.DatabaseMetaData#getDatabaseProductName then we'll be fine.