Re: Invalidate lookup tables cache?

From: Twan Kogels (twa..wansoft.com)
Date: Thu Jul 22 2004 - 12:35:58 EDT

  • Next message: Scott McClure: "Re: Primary Key question"

    Hello Andrus and Mike,

    Thanks for the replies and tips. I tryed the given solutions and it is
    working perfect!

    Greetings,
    Twan

    At 16:58 21-7-2004, you wrote:

    >On Jul 21, 2004, at 10:08 AM, Mike Kienenberger wrote:
    >
    >>I haven't used this feature yet myself, but I'd guess that you could either
    >>call the following method explicitly after an update (which seems like a
    >>sure thing),
    >>
    >> return ctxt.performQuery("AlleSectoren", true);
    >
    >This is currently the easiest way to refresh query results. So execute
    >this query in the same context that committed the changes to AlleSectoren,
    >right after the commit is done.
    >
    >Another more direct way is this:
    >
    >ctxt.getObjectStore().getDataRowCache().cacheSnapshots("AlleSectoren", null);
    >
    >Andrus
    >



    This archive was generated by hypermail 2.0.0 : Thu Jul 22 2004 - 12:32:42 EDT