[ http://issues.apache.org/jira/browse/IBATIS-360?page=comments#action_12454413 ] Jeff Butler commented on IBATIS-360: ------------------------------------
Could you verify the version of iBATIS you are using? There were a lot of changes in this area of the code for release 2.2.0 and I think this should work. > 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: http://issues.apache.org/jira/browse/IBATIS-360 > Project: iBatis for Java > Issue Type: Bug > Environment: JBuilder > Reporter: marc khoury > > <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. - 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