ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brandon Goodin <brandon.goo...@gmail.com>
Subject Re: Problem with cacheModel
Date Fri, 08 Apr 2005 18:32:15 GMT
Please post the <select> statement that uses the CacheModel as well.

Brandon

On Apr 8, 2005 6:09 AM, Stieve Verheyden <stieve_verheyden@telenet.be> wrote:
>  
>  
> 
> I'm creating a webapplication using struts. 
> 
>   
> 
> The problem I have is when I use the cachemodel: 
> 
>   
> 
> <cacheModel id="wachtkringCache" type="LRU" readOnly="true"> 
> 
>                         <flushInterval minutes="1" /> 
> 
>                         <flushOnExecute statement="insertWachtkring"/> 
> 
>                         <flushOnExecute statement="deleteWachtkring"/> 
> 
>                         <flushOnExecute statement="updateWachtkring"/> 
> 
>                         <property name="size" value="10"/> 
> 
> </cacheModel> 
> 
>   
> 
> When I request a page I get the results with no problem. But when I refresh
> the page I don't receive any value from the cacheModel during a minute. 
> 
> So when I do a refresh after a minute I see the results again. 
> 
>   
> 
> I'm totally new to Ibatis Sqlmaps an I wonder what the problem could be? 
> 
>   
> 
> Thanks.

Mime
View raw message