chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Naresh Bhatia <bhat...@comcast.net>
Subject Re: Stale info in session
Date Mon, 08 Aug 2011 14:55:38 GMT
Thanks so much Florian. CmisObject.refresh( ) is a much better solution!

Naresh

On Mon, Aug 8, 2011 at 10:13 AM, Florian Müller <
florian.mueller@alfresco.com> 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
> >
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message