Getting column names for resultMap - Ibatis
843834Mar 25 2009 — edited Mar 25 2009Hi friends,
I need to get the column names for the properties specified in sqlMap.xml in my code .
for example: <resultMap id="resmap" class="java.util.HashMap">
<result property="custId" column="cust_id"/>
<result property="routerId" column="router_id"/>
<result property="routerName" column="router_name" jdbcType="CLOB"/>
<result property="device_type" column="device_type"/>
</resultMap>
i need to get the column values in code.........
is there anyway to access the sqlMap.xml file as an instance in Ibatis.