[Mondrian] flushSchema???

Matt Campbell mkambol at gmail.com
Tue Dec 30 09:42:08 EST 2008

Maybe a custom DataSourceChangeListener would be appropriate.  The DSCL
interface includes a method "isHierarchyChanged()" which you could override
to determine whether the dimension in question has been modified

2008/12/18 Ati Rosselet <ati.rosselet at gmail.com>

> Hi,  I have a schema that has dimensions that can be changed dynamically,
> and would have loved to be able to invalidate a dimension's members.. but
> since that is on the "todo" list... I figured that using the CacheControl's
> flushSchema()  would do the trick....   unfortunately nothing happens... at
> all...  is there a special procedure for this to work?
> I am running jPivot, and from the OlapModelProxy in use, got access to the
> current MondrianModel and then did:
>                 model.getConnection().getCacheControl(new
> PrintWriter(System.out)).flushSchemaCache();
> no errors are thrown...  what did I miss?
> I had expected the schema to be reread and reparsed/loaded from db on the
> next query.. but nothing changes at all.. :(   Any ideas? help?
> Cheers
> Ati
> _______________________________________________
> Mondrian mailing list
> Mondrian at pentaho.org
> http://lists.pentaho.org/mailman/listinfo/mondrian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pentaho.org/pipermail/mondrian/attachments/20081230/c3fb0264/attachment.html 

More information about the Mondrian mailing list