Is this impossible to achieve? On 6/30/06, Anthony Hong <[EMAIL PROTECTED]> wrote:
Thanks, I already tried it, but doesn't work. DTD only accept true/false for this attribute.On 6/30/06, Torsten Michelmann <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> > An: [email protected] > 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 <[EMAIL PROTECTED]> 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
