HHH-11557 - DB2 gets confused with numerical parameters in nullif function DB2Dialect

This commit is contained in:
Troeger, Martin (K-SIPB-1/3) 2017-03-08 15:54:23 +01:00 committed by Vlad Mihalcea
parent f90845c30c
commit 084ee33303
1 changed files with 1 additions and 1 deletions

View File

@ -348,7 +348,7 @@ public class DB2Dialect extends Dialect {
default:
literal = "0";
}
return "nullif(" + literal + ',' + literal + ')';
return "nullif(" + literal + ", " + literal + ')';
}
@Override