Dynamic sql map with java.util.List ----------------------------------- Key: IBATIS-454 URL: https://issues.apache.org/jira/browse/IBATIS-454 Project: iBatis for Java Issue Type: Bug Components: SQL Maps Affects Versions: 2.1.7 Environment: Database - Oracle 10g Reporter: Michel Cabral do Amaral Priority: Minor
When I use parameterClass of java.util.List type with dynamic notation ($[].field$), the property (after dot) is ignored and the toString method of the current list element is called instead of the indicated property, for example, the follow statement map is calling toString twice: <select id="<statement id>" remapResults="true" resultMap="<result map name>" parameterClass="java.util.List"> SELECT <cols> FROM <clause> <dynamic prepend="WHERE"> <iterate conjunction="AND"> $[].field$ $[].operator$ #[].value# </iterate> </dynamic> </select> I´m using version 2.1.7 build 597 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.