You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Michael Gentry (JIRA)" <ji...@apache.org> on 2013/12/06 15:39:35 UTC

[jira] [Updated] (CAY-1891) Add To-Many / To-One Warnings to Cayenne Modeler

     [ https://issues.apache.org/jira/browse/CAY-1891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Gentry updated CAY-1891:
--------------------------------

    Summary: Add To-Many / To-One Warnings to Cayenne Modeler  (was: Add To-Many Warning to Cayenne Modeler)

> 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



--
This message was sent by Atlassian JIRA
(v6.1#6144)