Re: Expression.filterObjects() and SelectQuery

From: Mike Kienenberger (mkienen..mail.com)
Date: Fri Aug 25 2006 - 11:04:39 EDT

  • Next message: Tomi NA: "temporal database generation"

    On 8/25/06, Andrus Adamchik <andru..bjectstyle.org> wrote:
    > As far as I can tell the direction taken by Mike with outer join
    > implementation (Mike, correct me if I'm wrong) is to specify
    > explicitly whether an outer join is needed. There won't be any
    > attempts to second-guess the user. I support such direction with the
    > understanding of the problem that I have now.

    Yes, right now it's done per Expression either with setJoinType() or
    by using a "+" in the path: "toA+.toB+.c"

    If we could be sure that we don't break expected behavior, I'd love to
    have the need for an outer join on an OR or on an inequality
    comparision be automatically detected and translated to an outer join.
      I know that my own understanding isn't great enough to be sure that
    this always produces the correct behavior, though.



    This archive was generated by hypermail 2.0.0 : Fri Aug 25 2006 - 11:05:06 EDT