> ...and there is a problem with resultMap: You should explane the problem. What exceptions? What table structures?
> something like that doesn't work: > > <resultMap id="addr-result" class="Address"> > <result property="addressId" column=".." /> > <result property="street" column=".." /> > </resultMap> > > <resultMap id="comp-result" class="Company"> > <result property="id" column=".." /> > <result property="name" column=".." /> > <result property="address" resultMap="address-result" /> > </resultMap> This example can't work, because resultMap="address-result" does not match <resultMap id="addr-result" Ingmar