HHH-11557 - DB2 gets confused with numerical parameters in nullif function DB2Dialect
This commit is contained in:
parent
f90845c30c
commit
084ee33303
|
@ -348,7 +348,7 @@ public class DB2Dialect extends Dialect {
|
||||||
default:
|
default:
|
||||||
literal = "0";
|
literal = "0";
|
||||||
}
|
}
|
||||||
return "nullif(" + literal + ',' + literal + ')';
|
return "nullif(" + literal + ", " + literal + ')';
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue