Re: Clear DataContext Cache

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Wed Jul 26 2006 - 09:53:25 EDT

  • Next message: Tobias SCHOESSLER: "RE: Clear DataContext Cache"

    Yeah, unregisterObjects() should do the trick.

    A.

    On Jul 26, 2006, at 9:38 AM, Gentry, Michael ((Contractor)) wrote:

    > Man, 1.1.3 is like ... so last week. :-)
    >
    > Would DC's unregisterObjects() or invalidateObjects() do what you
    > want?
    > (I think those were available in 1.1.3.)
    >
    > /dev/mrg
    >
    >
    > -----Original Message-----
    > From: Tobias SCHOESSLER [mailto:Tobias.Schoessle..nvienna.org]
    > Sent: Wednesday, July 26, 2006 7:39 AM
    > To: cayenne-use..ncubator.apache.org
    > Subject: Clear DataContext Cache
    >
    >
    >
    > Hello,
    >
    > In cayenne 1.1.3 is it possible to clear the object cache of a
    > DataContext
    > manually?
    > I do not want to recreate the DataContext as it is being used in
    > several
    > controllers that would otherwise need to be refreshed.
    >
    > thanks.
    >
    >
    >
    >



    This archive was generated by hypermail 2.0.0 : Wed Jul 26 2006 - 09:53:46 EDT