HHH-14655 Upper case the information schema sequence identifier again to fix issues with case sensitive databases

This commit is contained in:
Christian Beikov 2021-06-07 15:20:29 +02:00
parent 5df5ddbe3a
commit 3443541f6c
1 changed files with 2 additions and 2 deletions

View File

@ -48,8 +48,8 @@ public class SQLServer2012Dialect extends SQLServer2008Dialect {
@Override
public String getQuerySequencesString() {
// The upper-case name should work on both case-sensitive and case-insensitive collations.
return "select * from information_schema.sequences";
// The upper-case name is necessary here so that both case-sensitive and case-insensitive collations work
return "select * from INFORMATION_SCHEMA.SEQUENCES";
}
@Override