Change default arrayMaxLength for JdbcControls from 1024 to -1 (unlimited)

This commit is contained in:
moparisthebest 2014-09-10 11:45:50 -04:00
parent 01a6f53d59
commit 4d574cb75f
2 changed files with 2 additions and 2 deletions

View File

@ -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;
/**

View File

@ -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);
}
/**