Return-Path: Delivered-To: apmail-cayenne-user-archive@www.apache.org Received: (qmail 96246 invoked from network); 14 May 2009 18:38:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 May 2009 18:38:18 -0000 Received: (qmail 32201 invoked by uid 500); 14 May 2009 18:38:18 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 32164 invoked by uid 500); 14 May 2009 18:38:18 -0000 Mailing-List: contact user-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cayenne.apache.org Delivered-To: mailing list user@cayenne.apache.org Received: (qmail 32154 invoked by uid 99); 14 May 2009 18:38:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 May 2009 18:38:18 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of borut.bolcina@gmail.com designates 209.85.218.171 as permitted sender) Received: from [209.85.218.171] (HELO mail-bw0-f171.google.com) (209.85.218.171) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 May 2009 18:38:09 +0000 Received: by bwz19 with SMTP id 19so1849419bwz.4 for ; Thu, 14 May 2009 11:37:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=DGTlblCgplBeL5NSVZtZGLVl3abQAGJxQqx2kcj8hhg=; b=F9mJECvk+84s7vfs2NxnA5qLy18irYyoNZS+cIqQs74t4piQ7JCzztptCr8IKIqeBD +bUMlSh7CdxeT9kTCMqBpQN6Sa2gLc9ctmHz/0VxuK0tNpclpRchtoDQjJ4Y7JE0HIye H69a64GkyMQCJnzz1zjvauHzMSHblSi0zPrf8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=b9f5IR3LxCe5yAVJH30pyTIwFnkIAv5X/EHLG/tKlUwDIl4P+emnvuN0BekrJL41Ks dO/IJQSeWwRDLnf+DYalfLAnyXmTesyZUwf/MlmNRFCunXf81zXZl57DnW/j3G14tqWM 8X+Lwl2NCMBv5npy6qJ0aAWXZT5RUBk+RtwnE= MIME-Version: 1.0 Received: by 10.204.63.209 with SMTP id c17mr2414113bki.47.1242326268451; Thu, 14 May 2009 11:37:48 -0700 (PDT) In-Reply-To: <10B0F35B-FE59-4F2B-979E-9671A8C59A1F@ish.com.au> References: <86C2117E-94F8-4B8A-B6B3-DB51B0850C44@objectstyle.org> <10B0F35B-FE59-4F2B-979E-9671A8C59A1F@ish.com.au> Date: Thu, 14 May 2009 20:37:48 +0200 Message-ID: Subject: Re: 3.0 cache documentation From: =?UTF-8?Q?Borut_Bol=C4=8Dina?= To: user@cayenne.apache.org Content-Type: multipart/alternative; boundary=00504502e11eed1c2b0469e39fa8 X-Virus-Checked: Checked by ClamAV on apache.org --00504502e11eed1c2b0469e39fa8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks for the answers... 2009/5/14 Aristedes Maniatis > > On 13/05/2009, at 11:28 PM, Borut Bol=C4=8Dina wrote: > > > Let's say I create another painting and insert it into the db. The new >> painting p4 is now in object cache. If I want to have fresh list of >> paintings, I now have to invalidate the paintings cache group in the >> onCommit callback function. >> > > If you way you fetch that list is through another query on the current > context, then yes, you need to invalidate the query cache. > I don't understand this one. Can you explain it a bit more? -Borut --00504502e11eed1c2b0469e39fa8--