cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAY-1891) Add To-Many / To-One Warnings to Cayenne Modeler
Date Tue, 18 Apr 2017 15:36:41 GMT

    [ https://issues.apache.org/jira/browse/CAY-1891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15972927#comment-15972927
] 

ASF GitHub Bot commented on CAY-1891:
-------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/cayenne/pull/200


> Add To-Many / To-One Warnings to Cayenne Modeler
> ------------------------------------------------
>
>                 Key: CAY-1891
>                 URL: https://issues.apache.org/jira/browse/CAY-1891
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Modeler
>         Environment: All platforms, affects versions of the modeler.
>            Reporter: Michael Gentry
>            Priority: Minor
>
> Cayenne Modeler should issue a warning when you have the To-Many checkbox checked on
both sides of a relationship in the DbEntity section.  When the checkbox is selected on both
sides, which isn't a valid combination, Cayenne gets confused and can insert NULLs for FKs
and orphan records.
> See: http://mail-archives.apache.org/mod_mbox/cayenne-dev/201311.mbox/%3CCAA-upzrZNG-OxN1dpTbLAqEx_tW26twkc%3DM0pwDQWNM%2Btzjg9g%40mail.gmail.com%3E
> Also, Cayenne Modeler should issue a warning when both sides of the relationship are
to-one (assuming To-Dependent PK isn't checked).
> See: http://mail-archives.apache.org/mod_mbox/cayenne-dev/201311.mbox/%3CCAA-upzrNYock0PtkmT=5H7=ZktJhDST_EGoxQeYNer7TDNzkpQ@mail.gmail.com%3E



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message