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

pull/2/head
moparisthebest 9 years ago
parent 01a6f53d59
commit 4d574cb75f

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

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

Loading…
Cancel
Save