[OS-JIRA] Created: (CAY-440) Partial support for one-to-many relationship with a source column that is not a PK.

From: jira-norepl..bjectstyle.org
Date: Mon Feb 06 2006 - 16:57:37 EST

  • Next message: jira-norepl..bjectstyle.org: "[OS-JIRA] Created: (CAY-441) unnamed query error on named query"

    Message:

      A new issue has been created in JIRA.

    ---------------------------------------------------------------------
    View the issue:

      http://objectstyle.org/jira/secure/ViewIssue.jspa?key=CAY-440

    Here is an overview of the issue:
    ---------------------------------------------------------------------
            Key: CAY-440
        Summary: Partial support for one-to-many relationship with a source column that is not a PK.
           Type: Improvement

         Status: Assigned
       Priority: Minor

        Project: Cayenne
     Components:
                 Cayenne Core Library
       Fix Fors:
                 1.2 [DEV]
       Versions:
                 1.2 [DEV]

       Assignee: Andrus Adamchik
       Reporter: Andrus Adamchik

        Created: Mon, 6 Feb 2006 4:57 PM
        Updated: Mon, 6 Feb 2006 4:57 PM

    Description:
    Relationships when owner's columns are not part of PK are not very well supported in Cayenne. This issue partially addresses such limitation. Namely the fact that such to-many can't be read... SQL generated for such relationships looks like this:

    SELECT t0.lingua, t0.s, t0.id FROM Stringhe t0 WHERE t0.id = NULL

    Note that in the fix I am about to commit, relationship resolution works, but this still doesn't mean that other things will (such as dependent key propagation, etc.)

    ---------------------------------------------------------------------
    JIRA INFORMATION:
    This message is automatically generated by JIRA.

    If you think it was sent incorrectly contact one of the administrators:
       http://objectstyle.org/jira/secure/Administrators.jspa

    If you want more information on JIRA, or have a bug to report see:
       http://www.atlassian.com/software/jira



    This archive was generated by hypermail 2.0.0 : Mon Feb 06 2006 - 16:57:38 EST