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-2070) Modeler sync function adds extraneous ObjRelationships inside the class hierarchy
Date Fri, 01 Apr 2016 16:10:25 GMT

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

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

GitHub user ollybondareva opened a pull request:

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

    CAY-2070 Modeler sync function adds extraneous ObjRelationships inside the class hierarchy

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ollybondareva/cayenne verticalInheritance

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cayenne/pull/92.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #92
    
----
commit f4d9965a3b33accd18aadf02ada7f3529c99c41b
Author: olga <ollybondareva@gmail.com>
Date:   2016-03-31T14:14:14Z

    improvement of vertical inheritance

----


> 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)

Mime
View raw message