Expression.filterObjects() and SelectQuery

From: Øyvind Harboe (oyvind.harbo..ylin.com)
Date: Thu Aug 24 2006 - 03:43:17 EDT

  • Next message: Andrus Adamchik: "Re: Detecting when outer joins are needed [Was: Cayenne does not throw an exception when an outer join is attempted]"

    Q1: Do the results of Expression.filterObjects() for all records in a
    table and the same expression used in SelectQuery always match?

    I hope the answer is "not currently, but once outer joins are
    supported, yes", because it will give me the following procedure to
    work around the outer join problems:

    - Run a query to return a subset of a table
    - Run filterObjects() for the remaining troublesome expression

    Q2: Are Expressions ambigous when used with Expression.filterObjects()?

    Q3: If Expressions are unambigous when used with
    Expression.filterObjects(), then why would I want them to be ambigous
    for SelectQuery?

    -- 
    Øyvind Harboe
    http://www.zylin.com
    



    This archive was generated by hypermail 2.0.0 : Thu Aug 24 2006 - 03:43:45 EDT