Remove check for valid arrayMaxLength value, now anything <= 0 just means unlimited

This commit is contained in:
moparisthebest 2014-09-10 11:59:03 -04:00
parent 4d574cb75f
commit 1e7092c623
2 changed files with 0 additions and 13 deletions

View File

@ -113,16 +113,6 @@ public class JdbcControlChecker implements ControlChecker {
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

View File

@ -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=\
SQL annotation on method: {0} : Contains an empty statement member.