Re: Cayenne does not throw an exception when an outer join is attempted

From: Øyvind Harboe (oyvind.harbo..ylin.com)
Date: Thu Aug 17 2006 - 10:06:16 EDT

  • Next message: Andrus Adamchik: "Re: Cayenne does not throw an exception when an outer join is attempted"

    On 8/17/06, Andrus Adamchik <andru..bjectstyle.org> wrote:
    > > Would it make sense for Cayenne to throw an exception when an outer
    > > join is attempted?
    >
    > Could you be more specific on when it should detect that? IIRC there
    > were some discussions on that in the past. You provide no references
    > though.

    I guess I don't understand, because I would say "always". If an outer
    join was required for an Expression, but Cayenne didn't generate it,
    then generate an Exception.

    Isn't it unambigous when an Expression as a Qualifier requires an
    OUTER JOIN or some other SQL construct that Cayenne does not support?

    > Also there is an effort underway to support outer joins (we will have
    > to do it in 3.0 anyways as the goal is to be compatible with the JPA
    > spec that requires them):
    >
    > http://objectstyle.org/cayenne/lists/cayenne-devel/2006/08/0106.html

    Super!

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



    This archive was generated by hypermail 2.0.0 : Thu Aug 17 2006 - 10:06:41 EDT