diff --git a/beehive-jdbc-control/src/main/java/org/apache/beehive/controls/system/jdbc/JdbcControl.java b/beehive-jdbc-control/src/main/java/org/apache/beehive/controls/system/jdbc/JdbcControl.java index 86c7eb0..df105c6 100644 --- a/beehive-jdbc-control/src/main/java/org/apache/beehive/controls/system/jdbc/JdbcControl.java +++ b/beehive-jdbc-control/src/main/java/org/apache/beehive/controls/system/jdbc/JdbcControl.java @@ -386,7 +386,7 @@ public interface JdbcControl { * with very large ResultSets when the value of this element is set to zero. */ @AnnotationMemberTypes.Optional - int arrayMaxLength() default 1024; + int arrayMaxLength() default -1; /** diff --git a/beehive-jdbc-control/src/main/java/org/apache/beehive/controls/system/jdbc/NewDefaultObjectResultSetMapper.java b/beehive-jdbc-control/src/main/java/org/apache/beehive/controls/system/jdbc/NewDefaultObjectResultSetMapper.java index abcc9d4..102b62f 100644 --- a/beehive-jdbc-control/src/main/java/org/apache/beehive/controls/system/jdbc/NewDefaultObjectResultSetMapper.java +++ b/beehive-jdbc-control/src/main/java/org/apache/beehive/controls/system/jdbc/NewDefaultObjectResultSetMapper.java @@ -13,7 +13,7 @@ import java.util.*; */ public class NewDefaultObjectResultSetMapper extends com.moparisthebest.jdbc.CaseInsensitiveMapResultSetMapper implements org.apache.beehive.controls.system.jdbc.ResultSetMapper { public NewDefaultObjectResultSetMapper() { - super(1024); + super(-1); } /**