Return-Path: Delivered-To: apmail-cayenne-user-archive@www.apache.org Received: (qmail 71589 invoked from network); 3 Sep 2008 18:27:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Sep 2008 18:27:46 -0000 Received: (qmail 47144 invoked by uid 500); 3 Sep 2008 18:27:43 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 47135 invoked by uid 500); 3 Sep 2008 18:27:43 -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 47124 invoked by uid 99); 3 Sep 2008 18:27:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Sep 2008 11:27:43 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [209.86.89.69] (HELO elasmtp-mealy.atl.sa.earthlink.net) (209.86.89.69) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Sep 2008 18:26:43 +0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=earthlink.net; b=jZ6kH1iZMKHe5qkkjkU+rVCze6wRXXCc1BAgD1vqDdLb4jXh20zOznDKAGUxZVaN; h=Received:Message-Id:From:To:In-Reply-To:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Date:References:X-Mailer:X-ELNK-Trace:X-Originating-IP; Received: from [68.10.113.144] (helo=[10.0.1.199]) by elasmtp-mealy.atl.sa.earthlink.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.67) (envelope-from ) id 1Kax45-0006jl-1s for user@cayenne.apache.org; Wed, 03 Sep 2008 14:26:49 -0400 Message-Id: From: Joe Baldwin To: user@cayenne.apache.org In-Reply-To: <4477CE3B-89F2-41BD-86F3-B9D1E50AB5D0@ish.com.au> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v926) Subject: Re: Result Set Filters? Date: Wed, 3 Sep 2008 14:26:48 -0400 References: <7B2153DF-E09F-4B9E-8879-245E5BAF799D@earthlink.net> <4477CE3B-89F2-41BD-86F3-B9D1E50AB5D0@ish.com.au> X-Mailer: Apple Mail (2.926) X-ELNK-Trace: 74aacf41df18ac9f85338a7d01cb3b6a7e972de0d01da9408f21cc2f10d51262a4a3e407b0125a9c350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 68.10.113.144 X-Virus-Checked: Checked by ClamAV on apache.org Ari, do you know if result sets can be combined? Joe On Sep 3, 2008, at 2:02 PM, Aristedes Maniatis wrote: > > On 04/09/2008, at 3:43 AM, Joe Baldwin wrote: > >> Lets say that I might want to filter my result set by eliminating >> certain entries. What is the recommended (i.e. best practice) >> method of filtering the result set so that you can produce a Java >> List that is a subset of the original result set? > > You can use Cayenne expressions to filter a list in memory. > > http://cayenne.apache.org/doc/in-memory-evaluation.html > > > Ari Maniatis > > > --------------------------> > ish > http://www.ish.com.au > Level 1, 30 Wilson Street Newtown 2042 Australia > phone +61 2 9550 5001 fax +61 2 9550 4001 > GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A > >