[#2052] Add [not]Between[Symmetric]() to Row[N] types - Added fix for
SQL Server
This commit is contained in:
parent
939793f2d0
commit
d8fe5ffee2
@ -264,7 +264,7 @@ class BetweenAndSteps extends Generators {
|
||||
|
||||
// These dialects either don't support row value expressions, or they
|
||||
// Can't handle row value expressions with the BETWEEN predicate
|
||||
else if (row.getDegree() > 1 && asList(DERBY, FIREBIRD, ORACLE, SYBASE).contains(configuration.getDialect())) {
|
||||
else if (row.getDegree() > 1 && asList(DERBY, FIREBIRD, ORACLE, SQLSERVER, SYBASE).contains(configuration.getDialect())) {
|
||||
Condition result = r.ge(min).and(r.le(max));
|
||||
|
||||
if (not) {
|
||||
|
||||
@ -701,7 +701,7 @@ implements
|
||||
|
||||
// These dialects either don't support row value expressions, or they
|
||||
// Can't handle row value expressions with the BETWEEN predicate
|
||||
else if (row.getDegree() > 1 && asList(DERBY, FIREBIRD, ORACLE, SYBASE).contains(configuration.getDialect())) {
|
||||
else if (row.getDegree() > 1 && asList(DERBY, FIREBIRD, ORACLE, SQLSERVER, SYBASE).contains(configuration.getDialect())) {
|
||||
Condition result = r.ge(min).and(r.le(max));
|
||||
|
||||
if (not) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user