[ 
https://issues.apache.org/jira/browse/IBATIS-454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12523142
 ] 

Michel Cabral do Amaral commented on IBATIS-454:
------------------------------------------------

Yes, I tried to use 2.3.0 version with DAO framework 2.2.0. Some methods are 
deprecated (like queryForPaginatedList), but it works. However, did not solve 
the issue. :-(

> 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.

Reply via email to