You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Giorgio Baroncelli (JIRA)" <ib...@incubator.apache.org> on 2008/12/23 12:14:44 UTC
[jira] Created: (IBATISNET-290) list of map in map
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".
Example:
<resultMap id="UserGroupAssignment_ResultMap" class="map" >
<result property="Key" column="UserGroupAssignmentID" />
<result property="GroupID" column="GroupID" />
<result property="GroupName" column="GroupName" />
</resultMap>
<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" />
</resultMap>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.