Re: Querying result set

From: Todd O'Bryan (toddobrya..ac.com)
Date: Thu Oct 27 2005 - 06:45:48 EDT

  • Next message: Robert Zeigler: "Re: Querying result set"

    There is ExpressionFactory.inExp(java.util.List), which you can add
    to another Expression with an "and" to get only objects that meet the
    expression and are in the List, but I don't know how that works
    internally. It may get all results from the db and prune those not in
    the List.

    Todd

    On Oct 27, 2005, at 6:32 AM, Dave Merrin wrote:

    >
    > Is it possible with cayenne to run a query against a resultset in
    > memory? I
    > basically want to build up an expression and run it against an
    > array of
    > objects to get back a subset. I think this is generally known as
    > filtering.
    >
    > Is this possible at alll with cayenne?
    >
    > Cheers,
    >
    > Dave
    >
    >



    This archive was generated by hypermail 2.0.0 : Thu Oct 27 2005 - 06:45:52 EDT