diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/DB2Dialect.java b/hibernate-core/src/main/java/org/hibernate/dialect/DB2Dialect.java index 02dbb40164..8538826b19 100644 --- a/hibernate-core/src/main/java/org/hibernate/dialect/DB2Dialect.java +++ b/hibernate-core/src/main/java/org/hibernate/dialect/DB2Dialect.java @@ -311,6 +311,10 @@ public String getLimitString(String sql, int offset, int limit) { return false; } + public boolean supportsExistsInSelect() { + return false; + } + public String getSelectClauseNullString(int sqlType) { String literal; switch(sqlType) {