Cayenne
  1. Cayenne
  2. CAY-447

Incorrect join syntax when two ObjEntities map to the same DbEntity

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.2 branch
    • Fix Version/s: Undefined future
    • Component/s: Core Library
    • Labels:
      None

      Description

      There was a workaround posted for the lack of "join split" support in Expressions:

      http://www.objectstyle.org/cayenne/lists/cayenne-user/2005/10/0059.html

      Seems like it breaks on expressions that match on properties of the two ObjEntities that are mapped to the same DbEntity

      http://objectstyle.org/cayenne/lists/cayenne-user/2006/02/0125.html

      Need to investigate

        Activity

        Hide
        Andrus Adamchik added a comment -

        Patch with a test case to demonstrate the issue

        Show
        Andrus Adamchik added a comment - Patch with a test case to demonstrate the issue
        Hide
        Andrus Adamchik added a comment -

        The core of the issue is the inability to match on more than one object properties in a to-many relationship. Won't be fixing this in 1.2. Instead we should support split qualifiers per CAY-514.

        Show
        Andrus Adamchik added a comment - The core of the issue is the inability to match on more than one object properties in a to-many relationship. Won't be fixing this in 1.2. Instead we should support split qualifiers per CAY-514 .

          People

          • Assignee:
            Andrus Adamchik
            Reporter:
            Andrus Adamchik
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development