Remove check for valid arrayMaxLength value, now anything <= 0 just means unlimited
This commit is contained in:
parent
4d574cb75f
commit
1e7092c623
@ -113,16 +113,6 @@ public class JdbcControlChecker implements ControlChecker {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
|
||||||
// Make sure maxArrayLength is not set to some negative number
|
|
||||||
//
|
|
||||||
int arrayMax = methodSQL.arrayMaxLength();
|
|
||||||
if (arrayMax < 0) {
|
|
||||||
env.getMessager().printError(method.getPosition(), getResourceString("jdbccontrol.bad.arraymaxlength",
|
|
||||||
method.getSimpleName(), arrayMax));
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// parse the SQL
|
// parse the SQL
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
|
|
||||||
jdbccontrol.bad.arraymaxlength=\
|
|
||||||
SQL annotation on method: {0} : arrayMaxLength set to invalid value (must be zero or greater): {1}
|
|
||||||
|
|
||||||
jdbccontrol.empty.statement=\
|
jdbccontrol.empty.statement=\
|
||||||
SQL annotation on method: {0} : Contains an empty statement member.
|
SQL annotation on method: {0} : Contains an empty statement member.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user