<resultMap id=”attr-result” class=”Attribute”>
<result property=”attrName” column=”…” />
<result property=”values” resultMap=”attr-vals” /> <!—No need to
specify
type List here -->
</resultMap>
<resultMap id=”attr-vals” class=”java.lang.String”>
<result property=”val” column=”VALUE” /> <!—val could be called
anything,
haven’t tried leaving it blank -->
</resultMap>
Hope this helps someone!
--
View this message in context:
http://www.nabble.com/String-list-in-resultMap-tp23954863p23968718.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.