ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anthony Hong" <anthony.bin.h...@gmail.com>
Subject Re: Re: Unit test problem with sql cache
Date Mon, 03 Jul 2006 00:58:06 GMT
Is this impossible to achieve?

On 6/30/06, Anthony Hong <anthony.bin.hong@gmail.com> wrote:
> Thanks,  I already tried it, but doesn't work.
> DTD only accept true/false for this attribute.
>
>
> On 6/30/06, Torsten Michelmann <torsten.michelmann@gmx.de> wrote:
> > Not sure if it works, but you might try to define a variable named eg. isCacheEnabled
in your properties file (access it via <properties resource="your.properties"/>) and
then you can use
> > cacheModelsEnabled=${isCacheEnabled}
> >
> >
> >
> > -------- Original-Nachricht --------
> > Datum: Fri, 30 Jun 2006 21:23:56 +0800
> > Von: Anthony Hong <anthony.bin.hong@gmail.com>
> > An: user-java@ibatis.apache.org
> > Betreff: Re: Unit test problem with sql cache
> >
> > > I saw sqlMapconfig has settings with cacheModelsEnabled
> > > How to change it dynamicly. Or Can I seperate sql map settings and sql
> > > map resource into two file and merge them in using?
> > >
> > > On 6/30/06, Anthony Hong <anthony.bin.hong@gmail.com> wrote:
> > > > I use db unit test to do intergration test with sql.
> > > > One of me selection with cache in sqlmap.
> > > > Backend data are insert via db script automatic so there is no chance
> > > > to trigger ibatis to update selection cache.
> > > > How to solve this problem? I want to disable cache in unit testint
> > > > mode. And enable it during web application page.
> > > >
> > > > --
> > > >
> > > > Anthony Hong
> > > >
> > > >
> > > > --
> > > >
> > > > Anthony Hong
> > > >
> > >
> > >
> > > --
> > >
> > > Anthony Hong
> >
> > --
> > Gruß
> > Torsten Michelmann
> >
> > "Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ...
> > Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
> >
>
>
> --
>
> Anthony Hong
>


-- 

Anthony Hong

Mime
View raw message