ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michel Cabral do Amaral (JIRA)" <ibatis-...@incubator.apache.org>
Subject [jira] Created: (IBATIS-454) Dynamic sql map with java.util.List
Date Mon, 27 Aug 2007 18:03:33 GMT
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>"
SELECT <cols>
FROM <clause>
 <dynamic prepend="WHERE">
  <iterate conjunction="AND">
   $[].field$ $[].operator$ #[].value# 

 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.

View raw message