cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aristedes Maniatis <...@ish.com.au>
Subject Re: Result Set Filters?
Date Wed, 03 Sep 2008 18:02:35 GMT

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



Mime
View raw message