chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller <florian.muel...@alfresco.com>
Subject Re: Stale info in session
Date Mon, 08 Aug 2011 14:13:07 GMT
Hi Naresh,

Have a look at this page [1] and let us if you have further questions.


- Florian


[1] http://chemistry.apache.org/java/developing/dev-client-cache.html


On 08/08/2011 14:57, Naresh Bhatia wrote:
> I am noticing that even if a file in the repository has changed,
> session.getObject() returns the old metadata (e.g. lastModifiedBy and
> lastModificationDate). I am assuming this is because the information is
> cached in the OpenCMIS session. What's the best way to refresh this
> information? I am currently clearing the entire session by calling
> Session.clear().
> 
> Thanks.
> Naresh
> 


Mime
View raw message