ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cbchhaya <cbchh...@gmail.com>
Subject Resolved: String list in resultMap
Date Wed, 10 Jun 2009 18:54:39 GMT

<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.


Mime
View raw message