Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
DataMapper 1.6.2
-
None
-
None
Description
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>