From dev-return-9073-apmail-openjpa-dev-archive=openjpa.apache.org@openjpa.apache.org Mon Sep 01 07:42:05 2008 Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 77389 invoked from network); 1 Sep 2008 07:42:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Sep 2008 07:42:05 -0000 Received: (qmail 49293 invoked by uid 500); 1 Sep 2008 07:42:03 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 49268 invoked by uid 500); 1 Sep 2008 07:42:03 -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 49253 invoked by uid 99); 1 Sep 2008 07:42:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Sep 2008 00:42:03 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED 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; Mon, 01 Sep 2008 07:41:13 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 615C6234C1C6 for ; Mon, 1 Sep 2008 00:41:44 -0700 (PDT) Message-ID: <1804289635.1220254904397.JavaMail.jira@brutus> Date: Mon, 1 Sep 2008 00:41:44 -0700 (PDT) From: "Georgi Naplatanov (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Created: (OPENJPA-709) Better naming for unique constraints MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Better naming for unique constraints ------------------------------------ Key: OPENJPA-709 URL: https://issues.apache.org/jira/browse/OPENJPA-709 Project: OpenJPA Issue Type: Improvement Affects Versions: 1.2.0 Environment: SUN JDK 1.6.0_06 for Linux(amd64) Reporter: Georgi Naplatanov Priority: Trivial An unique constraint name contains "uk_" prefix and combination of field's names. In case two or more tables have unique constraints with the same combination of fields, the generation of database's schema will fail, because constraint name should be unique too. It will be very nice if next versions of JPA specification will include possibility to set name for particular constraint. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.