ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barnett, Brian W." <bbarn...@scholarinc.com>
Subject RE: global resultMaps ??
Date Tue, 25 Jan 2005 22:45:44 GMT
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
>

Mime
View raw message