This content has been marked as final.
Show 3 replies
-
1. Re: finder throwing ArrayIndexOutOfBoundsException
petertje Apr 26, 2003 3:40 PM (in response to weliwarmer)because the parameter index should be 0 instead of 1?
-
2. Re: finder throwing ArrayIndexOutOfBoundsException
weliwarmer Apr 28, 2003 8:32 AM (in response to weliwarmer)Thanks, that fix SOME of the finders but others with custom finder like
upper(description) like upper({0}) or upper(key) like upper({0})
don't work because org.jboss.ejb.plugins.jaws.jdbc.JDBCDefinedFinderCommand gets confused when the same parameter is refered to more than once in the same statement.
JDBCDefinedFinderCommand counts the number of parameters by position, it does not take account of the parameter number.
Anyone know a way round this? -
3. Re: finder throwing ArrayIndexOutOfBoundsException
weliwarmer Apr 28, 2003 1:43 PM (in response to weliwarmer)Right got it....
In the actual deployment I had
upper(description) like upper({0}) or upper(_key) like upper{{0})
i.e. the last parameter has too many {{
Thanks again.