So the only difference in these tests atm is HSQLDB versus H2. The underlying problem is that the HSQLDB driver is returning bad database metadata, specifically in response to java.sql.DatabaseMetaData#storesMixedCaseQuotedIdentifiers.