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>

Reply via email to