• Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting column names for resultMap - Ibatis

arun ramk
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi 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"/>

i need to get the column values in code.........

is there anyway to access the sqlMap.xml file as an instance in Ibatis.

What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!