Return-Path: X-Original-To: apmail-cayenne-commits-archive@www.apache.org Delivered-To: apmail-cayenne-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4700E192B1 for ; Tue, 29 Mar 2016 17:41:28 +0000 (UTC) Received: (qmail 67087 invoked by uid 500); 29 Mar 2016 17:41:26 -0000 Delivered-To: apmail-cayenne-commits-archive@cayenne.apache.org Received: (qmail 67043 invoked by uid 500); 29 Mar 2016 17:41:25 -0000 Mailing-List: contact commits-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cayenne.apache.org Delivered-To: mailing list commits@cayenne.apache.org Received: (qmail 66915 invoked by uid 99); 29 Mar 2016 17:41:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Mar 2016 17:41:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7C4322C14FB for ; Tue, 29 Mar 2016 17:41:25 +0000 (UTC) Date: Tue, 29 Mar 2016 17:41:25 +0000 (UTC) From: "Andrus Adamchik (JIRA)" To: commits@cayenne.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CAY-2070) Modeler sync function adds extraneous ObjRelationships inside the class hierarchy MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)