[ https://issues.apache.org/jira/browse/IBATIS-457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527142 ]
Brandon Goodin commented on IBATIS-457: --------------------------------------- This appears to be fixed in the trunk version. I added a unit test for this scenario and it succeeded. The test I added is NestedIterateTest.test30(). I would recommend that you checkout the trunk version of iBATIS and build it. However, it is not a stable release. The other thing you could do is to try to find changes that have been made and apply a patch to your version. You would have to check out the tag from svn (http://svn.apache.org/repos/asf/ibatis/tags/java_release_2.3.0-677/) and diff it with trunk to see what changes have occured to the relevant classes. > com.ibatis.common.beans.ProbeException when compare with nested bean's list > property > ------------------------------------------------------------------------------------ > > Key: IBATIS-457 > URL: https://issues.apache.org/jira/browse/IBATIS-457 > Project: iBatis for Java > Issue Type: Bug > Components: SQL Maps > Affects Versions: 2.3.0 > Environment: WindowXP > Reporter: chflying > Attachments: ibatis-test.zip > > > there are three beans as below > public class TestBean1 { > private TestBean2 bean2 = null; > > // get & set method.... > } > public class TestBean2 { > private List list = null; > // get & set method.... > } > public class TestBean3 { > private String code = null; > private String name = null; > // get & set method.... > } > sql map as below > <select id="testSelect" parameterClass="bean1" resultClass="bean1"> > SELECT > CODE,NAME > FROM > TEST > WHERE > <iterate property="bean2.list" conjunction=" OR "> > <isEqual property="bean2.list[].code" compareValue="00"> > CODE IS NULL > </isEqual> > <isEqual property="bean2.list[].code" compareValue="01"> > CODE='001' > </isEqual> > <isEqual property="bean2.list[].code" compareValue="02"> > CODE='002' > </isEqual> > </iterate> > </select> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.