Win a copy of JDBC Workbook this week in the JDBC and Relational Databases forum
or A Day in Code in the A Day in Code forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

Getting column names for resultMap - Ibatis

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.

Liar, liar, pants on fire! refreshing plug:
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic