We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a666ac0 commit e0d262cCopy full SHA for e0d262c
hibernate-core/src/main/java/org/hibernate/dialect/DB2Dialect.java
@@ -51,6 +51,8 @@
51
*/
52
public class DB2Dialect extends Dialect {
53
54
+ private static final int BIND_PARAMETERS_NUMBER_LIMIT = 32_767;
55
+
56
private static final AbstractLimitHandler LIMIT_HANDLER = new AbstractLimitHandler() {
57
@Override
58
public String processSql(String sql, RowSelection selection) {
@@ -596,4 +598,9 @@ public IdentityColumnSupport getIdentityColumnSupport() {
596
598
public boolean supportsPartitionBy() {
597
599
return true;
600
}
601
602
+ @Override
603
+ public int getInExpressionCountLimit() {
604
+ return BIND_PARAMETERS_NUMBER_LIMIT;
605
+ }
606
0 commit comments