HHH-13727 H2 database with DATABASE_TO_UPPER=false throws org.h2.jdbc.JdbcSQLSyntaxErrorException: Table sequences not found
This commit is contained in:
parent
0c0248d448
commit
9ddab37748
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue