ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sven Boden <list...@pandora.be>
Subject Re: Flushing caches
Date Fri, 03 Mar 2006 18:35:06 GMT

Following should do the trick:

sqlMapClient.flushDataCache();
or
sqlMapClient.flushDataCache("cache id");

Look in the com.ibatis.sqlmap.client.SqlMapClient interface.

Regards,
Sven

Joe Wolf wrote:

>Is there any way to programmatically flush a cache?  I'm getting ready to head down the
road where I'll just call some bogus statement in my SQL map that's in my cache's flushOnExecute
list.  I was wondering if there was a more straightforward way.  Thanks.
>
>-Joe  
>CompSci Resources, LLC
>  
>


Mime
View raw message