ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carson Reinke" <crei...@MarketingAssociates.com>
Subject Map of Objects for Result
Date Mon, 27 Jun 2005 17:56:41 GMT
Is there a way to create a HashMap of objects with a result map?  I was
thinking something like this:

<resultMap id="resultId1" class="java.util.HashMap">
	<result property="obj1.column1" column="COLUMN1"/>
	<result property="obj2.column2" column="COLUMN2"/>

But that doesn't work because iBATIS does not know what "obj1" and
"obj2" are.  Any ideas w/o setting the "select" property?


Carson Reinke
P: 248.333.7700 x108  

View raw message