You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by Prashanth Sukumaran <pr...@yahoo.com> on 2005/11/17 07:15:01 UTC

How to clear the Cache when i want to?

Hi All,
   
  I am using OSCache for caching query results in iBatis.  I have a cachemodel with flushinterval as 12.  How do i initiate the flush cache myself?
   
  Is there any way i can get the handle to CacheController and call flush on it.
   
  Thanks
  Prashanth.

		
---------------------------------
 Yahoo! FareChase - Search multiple travel sites in one click.  

Re: How to clear the Cache when i want to?

Posted by Prashanth Sukumaran <pr...@yahoo.com>.
Thanks a ton.
  Prashanth

Clinton Begin <cl...@gmail.com> wrote:
  
sqlMapClient.flushDataCache();

Cheers,
Clinton

  On 11/16/05, Prashanth Sukumaran <pr...@yahoo.com> wrote:    Hi All,
   
  I am using OSCache for caching query results in iBatis.  I have a cachemodel with flushinterval as 12.  How do i initiate the flush cache myself?
   
  Is there any way i can get the handle to CacheController and call flush on it.
   
  Thanks
  Prashanth.
  
  
---------------------------------
  Yahoo! FareChase - Search multiple travel sites in one click.   


  


		
---------------------------------
 Yahoo! FareChase - Search multiple travel sites in one click.  

Re: How to clear the Cache when i want to?

Posted by Clinton Begin <cl...@gmail.com>.
sqlMapClient.flushDataCache();

Cheers,
Clinton

On 11/16/05, Prashanth Sukumaran <pr...@yahoo.com> wrote:
>
> Hi All,
>  I am using OSCache for caching query results in iBatis. I have a
> cachemodel with flushinterval as 12. How do i initiate the flush cache
> myself?
>  Is there any way i can get the handle to CacheController and call flush
> on it.
>  Thanks
> Prashanth.
>
> ------------------------------
> Yahoo! FareChase - Search multiple travel sites in one click.<http://us.lrd.yahoo.com/_ylc=X3oDMTFqODRtdXQ4BF9TAzMyOTc1MDIEX3MDOTY2ODgxNjkEcG9zAzEEc2VjA21haWwtZm9vdGVyBHNsawNmYw--/SIG=110oav78o/**http%3a//farechase.yahoo.com/>
>
>