To flush on demand you can just call
SqlMapClient.flushDataCache(String cacheId).

HTH



On Tue, Apr 28, 2009 at 10:32 AM, WhyDontYouSlide <whydontyousl...@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.
>
>

Reply via email to