cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAY-2124) Reverse Engineering - incorrect one-to-one relationship naming
Date Fri, 21 Oct 2016 11:11:58 GMT
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)

Mime
View raw message