Re: Result Set Filters?

From: Aristedes Maniatis (ar..sh.com.au)
Date: Wed Sep 03 2008 - 14:02:35 EDT

  • Next message: Joe Baldwin: "Re: Result Set Filters?"

    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



    This archive was generated by hypermail 2.0.0 : Wed Sep 03 2008 - 14:03:25 EDT