[jira] Closed: (IBATIS-360) iterate a property of array of objects and using isEqual tag to compare an attribute ex:(id) of this object with a value. ex: "list[].id"

View: New views
1 Messages — Rating Filter:   Alert me  

Parent Message unknown [jira] Closed: (IBATIS-360) iterate a property of array of objects and using isEqual tag to compare an attribute ex:(id) of this object with a value. ex: "list[].id"

by JIRA ibatis-dev@incubator.apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/jira/browse/IBATIS-360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Clinton Begin closed IBATIS-360.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3.4

> iterate a property of array of objects and using isEqual tag to compare an attribute ex:(id) of this object with a value. ex: "list[].id"
> -----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: IBATIS-360
>                 URL: https://issues.apache.org/jira/browse/IBATIS-360
>             Project: iBatis for Java
>          Issue Type: Bug
>         Environment: JBuilder
>            Reporter: marc khoury
>             Fix For: 2.3.4
>
>
> <iterate property="list">
>   <isEqual property="list[].id" compareValue="123">
>     $list[].anotherProperty$
>   </isEqual>
> </iterate>
> after running my query in ibatis that contains this mentioned part of it, i get an error on reading the property "list[].id" .
> it seems like ibatis can not read or iterate with each object inside the property of type collection to get to a specific attribute like "id" in my case.
> So is there any solution to it, or a differente writing of the property="..." inside the isEqual tag that i should follow to make it right. Please reply to me with the format of the iterate tag along with the isEqual tag in writing.
> Thank u regards, marquise

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...