ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Carré" <guillaume.ca...@gmail.com>
Subject Re: Overrule IBATIS caching
Date Fri, 24 Nov 2006 14:15:20 GMT
2006/11/24, Tom Stroobants <Tom.Stroobants@persgroep.be>:
>
> Hi All,
>
> We have an application that runs on different servers ...
> On one server we want to overrule to IBATIS caching like this:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE sqlMapConfig PUBLIC "-//iBATIS.com//DTD SQL Map Config
> 2.0//EN" "http://www.ibatis.com/dtd/sql-map-config-2.dtd">
>
> <sqlMapConfig>
>     <properties resource="ibatis.properties"/>
>     <settings cacheModelsEnabled="${ibatis.cacheModelsEnabled}"/>
>
>     ...
>
> </sqlMapConfig>
>
> We also have an ibatis.properties file which contains the key
> ibatis.cacheModelsEnabled = true
>
> But this doesn't seem to work ...
>
> Any advice ?

Hello,

there is no way to overrule caching, with ${} properties, or with the API.

I posted almost the same question here 2 weeks ago.
http://www.mail-archive.com/user-java@ibatis.apache.org/msg06763.html
-- 
Guillaume Carré

Mime
View raw message