Skip to content

Commit 445c587

Browse files
committed
HHH-18403 Disable returning clause support for updates on DB2 for i
1 parent 6bf3f15 commit 445c587

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,12 @@ public boolean supportsDistinctFromPredicate() {
9292
return true;
9393
}
9494

95+
@Override
96+
public boolean supportsUpdateReturning() {
97+
// Only supported for insert statements on DB2 for i: https://www.ibm.com/docs/en/i/7.1?topic=clause-table-reference
98+
return false;
99+
}
100+
95101
/**
96102
* No support for sequences.
97103
*/

0 commit comments

Comments
 (0)