PDA

View Full Version : synchronize cache with DBMS changes?



kw2000
06-06-2003, 12:09 PM
If there are changes made to the underlying DBMS, how to programmatically invalidate the cache?
Thanks

jhyde
06-07-2003, 01:09 PM
Call
mondrian.rolap.CachePool.instance().flush()
I'd like to provide a better way of flushing the cache a in future release, in which case, this method may change/disappear.

skyeyscorpio
03-09-2004, 05:06 PM
hi,
I have added such sentence in the page testpage.jsp.
It works when I open this page everytime.
But it failed to refresh the data in the table when I do it via a button.
Since I wand to refresh the data anytime during doing olap analysis. If I re-open this page, everything is reset. So I put a button
like this
<wcf:imgbutton id="flushButton01" img="reload" tooltip= "toolb.reload" href="testpage.jsp?isFlush=yes" />
and at the begin of this page, check the paramter isFlush, and flush the cache.But nothing changed..
How can I solved this problem?
is this because the query pape is included in to this testpage.jsp or ?
thanks.
Marty

avix
03-10-2004, 10:13 PM
This should work