ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 任增刚 <renzengg...@gmail.com>
Subject Re: global resultMaps ??
Date Wed, 26 Jan 2005 01:01:57 GMT
Hi! every body.

Why TypeHandler cannot apply to the insert or update statment? i had
tested on one select for TypeHandler ,it is working correctly,but for
insert or update the //public void setParameter(ParameterSetter arg0,
Object arg1) mthods does't work properly.

some advice,thks deeply!

On Tue, 25 Jan 2005 15:45:44 -0700, Barnett, Brian W.
<bbarnett@scholarinc.com> wrote:
> It works like a charm. Thank you Clinton and Brice.
> 
> -----Original Message-----
> From: Clinton Begin [mailto:clinton.begin@gmail.com]
> Sent: Tuesday, January 25, 2005 3:21 PM
> To: ibatis-user-java@incubator.apache.org
> Subject: Re: global resultMaps ??
> 
> Sure.  Define it in a separate result map and ensure that it is
> declared first in the config file.  Also be sure to prefix it with the
> id of the sql map file.
> 
> Cheers,
> Clinton
> 
> On Tue, 25 Jan 2005 16:03:48 -0600, Barnett, Brian W.
> <bbarnett@scholarinc.com> wrote:
> > Is there a way to create a resultMap that can be referenced in separate
> sql
> > map.xml files, or do I have to duplicate the resultMap in each file I want
> > to use it in?
> >
> > What about cacheModels?
> >
> > Thanks,
> > Brian Barnett
> >
> 


-- 
任增刚
Renzenggang@csii.com.cn
Renzenggang@gmail.com

Mime
View raw message