mirror of
https://github.com/moparisthebest/JdbcMapper
synced 2024-11-28 20:02:18 -05:00
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;
|
||||
}
|
||||
|
||||
//
|
||||
// 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
|
||||
|
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user