Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
None
-
None
-
None
-
None
-
windows, jre 1.4.2
Description
I have an iterate tag in my query that looks like the following:
<iterate property="workflows" open="(" close=")" conjunction="OR" >
state=#workflows[]#
</iterate>
The workflows attribute is an ArrayList containing strings. When i execute this query i get the following exception:
Cause: com.ibatis.common.beans.ProbeException: Error getting ordinal list from JavaBean. Cause java.lang.NumberFormatException: For input string: ""
Somehow ibatis seems to think that the list is numeric and i am not sure how to make the iterate tag work with my list of strings.