[JIRA] Created: (CAY-929) SelectTranslator needs to support left join

From: Ari Maniatis (JIRA) ("Ari)
Date: Mon Dec 03 2007 - 17:36:44 EST

  • Next message: Ari Maniatis (JIRA): "[JIRA] Created: (CAY-930) Joint prefetches always result in inner joins"

    SelectTranslator needs to support left join
    -------------------------------------------

                     Key: CAY-929
                     URL: https://issues.apache.org/cayenne/browse/CAY-929
                 Project: Cayenne
              Issue Type: Improvement
              Components: Cayenne Core Library
                Reporter: Ari Maniatis
                Assignee: Andrus Adamchik

    appendTable() in SelectTranslator.java simply appends a list of all tables referenced to the FROM clause. In some cases these tables should instead be added as a join (often a left join). This code needs to allow for that possibility. I can see some trivial ways to do this by hacking this code, but I am not confident of how this might fit into the grand plan of EJBQL and more. Will this code need to accommodate other more complex joins in the future (eg is there ever a need for outer joins?)

    -- 
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
    



    This archive was generated by hypermail 2.0.0 : Mon Dec 03 2007 - 17:37:10 EST