HHH-13597 Building DatabaseInformation fails on H2 without DATABASE_TO_UPPER

This commit is contained in:
Andrea Boriero 2019-09-06 19:11:10 +01:00 committed by Sanne Grinovero
parent 0e9ef8c7c9
commit e04348079f
1 changed files with 1 additions and 1 deletions

View File

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