[ http://issues.apache.org/jira/browse/IBATIS-344?page=all ]

Jeff Butler closed IBATIS-344.
------------------------------

    Resolution: Invalid

Not a bug - as detailed in the comments.

> iterate tag does not work for list containing strings
> -----------------------------------------------------
>
>                 Key: IBATIS-344
>                 URL: http://issues.apache.org/jira/browse/IBATIS-344
>             Project: iBatis for Java
>          Issue Type: Bug
>         Environment: windows, jre 1.4.2
>            Reporter: sriram easwaran
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to