Thanks for the reply.

The result class is a class of my domain model, not a Map. And the complex property is a List.

Here the stub of my class and of my ResultMap:


public class Service {

    private Integer id;
    // Some other primitive properties here...

    private List<Tag> tagList;

}


<resultMap id="service" class="net.mydomain.model.Service" groupBy="id">
    <result property="id" column="id" />
    ....
    <result property="tagList" resultMap="tagList" />
</resultMap>
<resultMap id="tagList" class="net.mydomain.model.Tag">
    <result property="tag" column="tag" />
</resultMap>



In data 14 dicembre 2008 alle ore 16:22:01, Nathan Maves <nathan.ma...@gmail.com> ha scritto:

result class?  I have a feeling that you might be trying
to user a map which by default insertion order


Reply via email to