Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 61238 invoked from network); 14 Dec 2008 22:44:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Dec 2008 22:44:07 -0000 Received: (qmail 80106 invoked by uid 500); 14 Dec 2008 22:44:19 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 80070 invoked by uid 500); 14 Dec 2008 22:44:19 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 80059 invoked by uid 99); 14 Dec 2008 22:44:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Dec 2008 14:44:19 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Dec 2008 22:44:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 44545234C3C9 for ; Sun, 14 Dec 2008 14:43:44 -0800 (PST) Message-ID: <147231953.1229294624265.JavaMail.jira@brutus> Date: Sun, 14 Dec 2008 14:43:44 -0800 (PST) From: "Benjamin Renaud (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Created: (OPENJPA-827) When specifying a single table inheritance strategy, the model should detect and signal potential conflicts across columns MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org When specifying a single table inheritance strategy, the model should detect and signal potential conflicts across columns -------------------------------------------------------------------------------------------------------------------------- Key: OPENJPA-827 URL: https://issues.apache.org/jira/browse/OPENJPA-827 Project: OpenJPA Issue Type: Improvement Components: jpa Affects Versions: 1.2.0 Environment: JPA 1.2 running in Tomcat 6.14 Reporter: Benjamin Renaud Priority: Minor When you have Entity A with a single-table inheritance strategy it would be nice if, when modeling B, C, D ... as subclasses of A JPA would make sure that there are no two columns with clashing names and incompatible types. For example, if B has a field Date defaultValue and C has a field Long defaultValue. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.