You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ji...@apache.org> on 2016/10/21 11:11:58 UTC

[jira] [Created] (CAY-2124) Reverse Engineering - incorrect one-to-one relationship naming

Andrus Adamchik created CAY-2124:
------------------------------------

             Summary: Reverse Engineering - incorrect one-to-one relationship naming
                 Key: CAY-2124
                 URL: https://issues.apache.org/jira/browse/CAY-2124
             Project: Cayenne
          Issue Type: Bug
    Affects Versions: 4.0.M4
            Reporter: Andrus Adamchik
            Assignee: Andrus Adamchik


Just noticed odd naming of 1..1 relationships. Say we have two tables "team" and "arena" joined on PK, with "arena.team_id" being both arena's PK and an FK to team. The resulting entities have the following 2 relationships: Arena.team (correct), and Team.team (incorrect).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)