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" <[EMAIL PROTECTED]> 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.

Reply via email to