Return-Path: Delivered-To: apmail-incubator-cayenne-user-archive@locus.apache.org Received: (qmail 81273 invoked from network); 26 Jul 2006 13:53:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Jul 2006 13:53:46 -0000 Received: (qmail 46959 invoked by uid 500); 26 Jul 2006 13:53:45 -0000 Delivered-To: apmail-incubator-cayenne-user-archive@incubator.apache.org Received: (qmail 46947 invoked by uid 500); 26 Jul 2006 13:53:45 -0000 Mailing-List: contact cayenne-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cayenne-user@incubator.apache.org Delivered-To: mailing list cayenne-user@incubator.apache.org Received: (qmail 46938 invoked by uid 99); 26 Jul 2006 13:53:45 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Jul 2006 06:53:45 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [64.124.179.102] (HELO polatsk.objectstyle.org) (64.124.179.102) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 26 Jul 2006 06:53:44 -0700 Received: (qmail 17815 invoked from network); 26 Jul 2006 13:53:23 -0000 Received: from unknown (HELO ?ZJ?cr??IPv6:::1?) (127.0.0.1) by localhost with SMTP; 26 Jul 2006 13:53:23 -0000 Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <110DED9F5106CC47A186602C0DD3938201168D6B@EXVF.fanniemae.com> References: <110DED9F5106CC47A186602C0DD3938201168D6B@EXVF.fanniemae.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Andrus Adamchik Subject: Re: Clear DataContext Cache Date: Wed, 26 Jul 2006 09:53:25 -0400 To: cayenne-user@incubator.apache.org X-Mailer: Apple Mail (2.752.2) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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.Schoessler@unvienna.org] > Sent: Wednesday, July 26, 2006 7:39 AM > To: cayenne-user@incubator.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. > > > >