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/03/29 19:41:25 UTC

[jira] [Updated] (CAY-2070) Modeler sync function adds extraneous ObjRelationships inside the class hierarchy

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

Andrus Adamchik updated CAY-2070:
---------------------------------
    Attachment: x.zip

attaching sample project. though this is simple vertical inheritance and should be reproducible with any model

> Modeler sync function adds extraneous ObjRelationships inside the class hierarchy
> ---------------------------------------------------------------------------------
>
>                 Key: CAY-2070
>                 URL: https://issues.apache.org/jira/browse/CAY-2070
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Modeler
>    Affects Versions: 4.0.M3
>            Reporter: Andrus Adamchik
>         Attachments: x.zip
>
>
> Per this discussion http://www.mail-archive.com/user@cayenne.apache.org/msg09253.html , when you use Modeler Db->Obj sync functionality within classes with vertical inheritance, the Modeler would add a bunch of extraneous ObjRelationships between base class and subclasses. Sync algorithm should be smarter about inheritance.



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