ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Giorgio Baroncelli (JIRA)" <ibatis-...@incubator.apache.org>
Subject [jira] Created: (IBATISNET-290) list of map in map
Date Tue, 23 Dec 2008 11:14:44 GMT
list of map in map

                 Key: IBATISNET-290
                 URL: https://issues.apache.org/jira/browse/IBATISNET-290
             Project: iBatis for .NET
          Issue Type: Bug
          Components: DataMapper
    Affects Versions: DataMapper 1.6.2
            Reporter: Giorgio Baroncelli

The problem occur using "queryforobject<Idictionary>" and a resultproperty of the resultmap
should be a "list of map".


 <resultMap id="UserGroupAssignment_ResultMap" class="map" >
      <result property="Key" column="UserGroupAssignmentID" />
      <result property="GroupID" column="GroupID" />
      <result property="GroupName" column="GroupName" />
<resultMap id="User_ResultMap" groupBy="Key" class="map">
     <result property="Key" column="ID" />
      <result property="Name" column="Name" />
      <result property="LastName" column="LastName" />
      <result property="Email" column="Email" />
      <result property="Username" column="Username" />
      <result property="Password" column="Password" /> 
       <result property="UserGroupAssignment" type="ArrayList" resultMapping="Users.UserGroupAssignment_ResultMap"

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message