ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From WhyDontYouSlide <whydontyousl...@gmail.com>
Subject Re: force flushOnExecute without real query
Date Tue, 28 Apr 2009 12:18:45 GMT


great! just what I was looking for!

thank you!

regards
whydontyouslide



Nicholoz Koka Kiknadze wrote:
> 
> To flush on demand you can just call
> SqlMapClient.flushDataCache(String cacheId).
> 
> HTH
> 
> 
> 
> On Tue, Apr 28, 2009 at 10:32 AM, WhyDontYouSlide
> <whydontyouslide@gmail.com
>> wrote:
> 
>>
>> Hello,
>>
>> I was asking myself if It's possible to force flushing of the cache
>> without
>> execute a "real" statement
>>
>> for example:
>>
>> the traditinal way is to execute a query defined in "somequeryname"
>>
>> <flushOnExecute statement="somequeryname"/>
>>
>>
>> but.. can I simply do nothing instead of calling a statement here?
>>
>> <flushOnExecute statement="somequeryname"/>
>>
>> <select id="somequeryname"
>>
>>    doing nothing here...
>>
>> />
>>
>> doing this way I could for example be able to call the flush "on demand"
>> from a DTO outside
>>
>> thx
>> whydontyouslide
>>
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/force-flushOnExecute-without-real-query-tp23274367p23274367.html
>> Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/force-flushOnExecute-without-real-query-tp23274367p23275898.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.


Mime
View raw message