ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aram Mkhitaryan" <aram.mkhitar...@googlemail.com>
Subject Re: ibatis configuration
Date Thu, 26 Jul 2007 04:34:23 GMT
> and i do not column_1 and column_2 to be mapped. Is there a way of
>
> > excluidng these columns

If you mean iBATIS config files,
if you specify resultMap for your statement you can manually specify in that
map which columns should be mapped.

<statement id="..." resultMap="rm">
  ...
</statement>
<resultMap id="rm">
   <result property="..." column="..." /> //here will go everything except
column_1 and column_2
</resultMap>

Best,
Aram
________________________________
Aram Mkhitaryan

52, 25 Lvovyan, Yerevan 375000, Armenia

Mobile: +374 91 518456
E-mail: aram.mkhitaryan@googlemail.com

Mime
View raw message