Skip to content

Commit d814562

Browse files
committed
HHH-6643 Overrode getNotExpression in DB2Dialect
1 parent da4a10e commit d814562

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

hibernate-core/src/main/java/org/hibernate/dialect/DB2Dialect.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,5 +462,10 @@ public JDBCException convert(SQLException sqlException, String message, String s
462462
public UniqueDelegate getUniqueDelegate() {
463463
return uniqueDelegate;
464464
}
465+
466+
@Override
467+
public String getNotExpression( String expression ) {
468+
return "not (" + expression + ")";
469+
}
465470

466471
}

0 commit comments

Comments
 (0)