dart0
08-16-2005, 03:43 AM
I am using Mondrian together with JPivot. We are updating data in database every 15 minutes, so we need clear the cache every 15 minutes too. The thing is, that even when I do mondrian.rolap.cache.CachePool.instance().flush() the results remain the same.
First reason is obvious; there is CachingOlapModel in JPivot that caches the data too. But even when I clear the cache in the CachingOlapModel, the data are still not loaded from database. I suppose that there is some other cache inside of Mondrian. But I have no idea where.
Has someone experience with similar problem? The only solution that I have is to recreate OlapModel every time when the cache is cleared (I do not like this solution)
First reason is obvious; there is CachingOlapModel in JPivot that caches the data too. But even when I clear the cache in the CachingOlapModel, the data are still not loaded from database. I suppose that there is some other cache inside of Mondrian. But I have no idea where.
Has someone experience with similar problem? The only solution that I have is to recreate OlapModel every time when the cache is cleared (I do not like this solution)