Return-Path: Delivered-To: apmail-incubator-cayenne-user-archive@locus.apache.org Received: (qmail 7673 invoked from network); 26 Jul 2006 14:57:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Jul 2006 14:57:45 -0000 Received: (qmail 16487 invoked by uid 500); 26 Jul 2006 14:57:44 -0000 Delivered-To: apmail-incubator-cayenne-user-archive@incubator.apache.org Received: (qmail 16472 invoked by uid 500); 26 Jul 2006 14:57:43 -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 16463 invoked by uid 99); 26 Jul 2006 14:57:43 -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 07:57:43 -0700 X-ASF-Spam-Status: No, hits=1.8 required=10.0 tests=RCVD_IN_WHOIS_BOGONS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of Tobias.Schoessler@unvienna.org designates 193.138.94.41 as permitted sender) Received: from [193.138.94.41] (HELO mx4.unvienna.org) (193.138.94.41) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Jul 2006 07:57:42 -0700 Received: from unvsmtp2.unvienna.org (unvsmtp2.unvienna.org [172.17.252.136]) by mx4.unvienna.org (8.12.11/8.12.11) with ESMTP id k6QEvDr9023840 for ; Wed, 26 Jul 2006 16:57:16 +0200 In-Reply-To: <110DED9F5106CC47A186602C0DD3938201168D6B@EXVF.fanniemae.com> Subject: RE: Clear DataContext Cache To: cayenne-user@incubator.apache.org Cc: cayenne-user@incubator.apache.org X-Mailer: Lotus Notes Release 7.0.1 January 17, 2006 Message-ID: From: Tobias SCHOESSLER Date: Wed, 26 Jul 2006 16:57:06 +0200 X-MIMETrack: Serialize by Router on unvsmtp2/VIENNA/UNO(Release 7.0.1|January 17, 2006) at 26/07/2006 16:57:15 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ... yes oldschool, ... but they say - never change a runing system. : ) I call dataContext .unregisterObjects(dataContext.getObjectStore().getObjects()); that helped. thanks "Gentry, Michael \(Contractor\)" cc Wednesday, 26 July 2006 15:38 Subject RE: Clear DataContext Cache Please respond to cayenne-user@incu bator.apache.org 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.