ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larry Meadors" <lmead...@apache.org>
Subject Re: problem with flushInterval in cacheModel
Date Sun, 04 Nov 2007 16:13:46 GMT
Interesting, I didn't realize that there was a limit.

If you omit the flushInterval, it will not be flushed.

Larry


On 11/4/07, Odelya Glick <odelya@jpost.com> wrote:
> HI,
>
> I have declared the following cacheModel
> <cacheModel id="countriesCache" type="LRU">
>                 <flushInterval hours="720" />
>                 <property name="size" value="100" />
>         </cacheModel>
>
> But I get an exception that flush must be declared either with hours, min or
> so.
> When I changed it to hours="24" it's fine.
>
> What's the limit?
>
> and if I want it to be cached for good?
>
> (I don't think to ever change the countries table).
>
> Thank you,
>
> Odelya
> web-programmer
> 050-2052075
>
>
>

Mime
View raw message