Thanks so much Florian. CmisObject.refresh( ) is a much better solution! Naresh
On Mon, Aug 8, 2011 at 10:13 AM, Florian Müller < [email protected]> wrote: > 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 > > > >
