Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 37011 invoked from network); 7 Dec 2005 15:24:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Dec 2005 15:24:54 -0000 Received: (qmail 46265 invoked by uid 500); 7 Dec 2005 15:24:31 -0000 Mailing-List: contact jdo-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-dev@db.apache.org Received: (qmail 46191 invoked by uid 99); 7 Dec 2005 15:24:30 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Dec 2005 07:24:30 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 39CD4191 for ; Wed, 7 Dec 2005 16:24:09 +0100 (CET) Message-ID: <1634243527.1133969049234.JavaMail.jira@ajax.apache.org> Date: Wed, 7 Dec 2005 16:24:09 +0100 (CET) From: "Michael Watzek (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Updated: (JDO-167) Inheritance mapping 2 needs to be changed to support polymorphic relationships to Employees In-Reply-To: <468227602.1128440387887.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JDO-167?page=all ] Michael Watzek updated JDO-167: ------------------------------- Attachment: JDO-167.patch The attached patch fixes this issue. > Inheritance mapping 2 needs to be changed to support polymorphic relationships to Employees > ------------------------------------------------------------------------------------------- > > Key: JDO-167 > URL: http://issues.apache.org/jira/browse/JDO-167 > Project: JDO > Type: Bug > Components: tck20 > Reporter: Michael Watzek > Assignee: Michael Watzek > Attachments: JDO-167.patch > > Inheritance mapping 2 is incomplete wrt Employee relationships. Due to this lack, implementations cannot figure out the right runtime type at navigation time, e.g. navigating from Project to Employee. > In t-conference, Sep 30, Craig proposed to drop the identity propties from PK columns of tables persons, fulltimeemployees, parttimeemployees. Instead, we introduce implementation-defined sequences to generate unique key values for all instances of the Person class hierarchy. Having unique PK values for each row in the hierarchy, implementations are able to find out the right runtime type when navigating Employee relationships. > We need to adapt the schema and the ORM metadata in order to reflect these changes. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira