HHH-13727 H2 database with DATABASE_TO_UPPER=false throws org.h2.jdbc.JdbcSQLSyntaxErrorException: Table sequences not found

This commit is contained in:
Andrea Boriero 2019-11-13 09:08:12 +00:00
parent 0c0248d448
commit 9ddab37748
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ public class H2Dialect extends Dialect {
if ( buildId >= 32 ) { if ( buildId >= 32 ) {
this.sequenceInformationExtractor = SequenceInformationExtractorH2DatabaseImpl.INSTANCE; this.sequenceInformationExtractor = SequenceInformationExtractorH2DatabaseImpl.INSTANCE;
this.querySequenceString = "select * from INFORMATION_SCHEMA.sequences"; this.querySequenceString = "select * from INFORMATION_SCHEMA.SEQUENCES";
} }
else { else {
this.sequenceInformationExtractor = SequenceInformationExtractorNoOpImpl.INSTANCE; this.sequenceInformationExtractor = SequenceInformationExtractorNoOpImpl.INSTANCE;