ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From avalerio <avale...@andrewscg.com>
Subject Re: Caching question
Date Thu, 09 Aug 2007 12:01:36 GMT

Thanks.

Chris Lamey wrote:
> 
> You can use the: 
> 
>    <flushOnExecute statement="somequeryname"/>
> 
> To automatically flush a specific cache when a specific query is run.
> 
> Cheers,
> Chris
> 
> On 8/8/07 1:44 PM, "avalerio1" <avalerio1@cox.net> wrote:
> 
>> 
>> I've implemented the LRU caching model here's the config:
>> <cacheModel id="a-cache" type ="LRU" readOnly="false" serialize="true">
>> <flushInterval hours="12"/>
>> <property name="cache-size" value="1000" />
>> </cacheModel>
>> Now here's the question: Do I have to flush the cache myself after an
>> update
>> to a table? If I query a table that returns 4 rows then add or delete a
>> row,
>> when I query the table after the update I get the same 4 rows returned
>> initially.
>> Thanks.
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Caching-question-tf4238620.html#a12071076
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.


Mime
View raw message