From dev-return-5869-apmail-openjpa-dev-archive=openjpa.apache.org@openjpa.apache.org Fri Aug 24 08:40:55 2007 Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 39578 invoked from network); 24 Aug 2007 08:40:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Aug 2007 08:40:54 -0000 Received: (qmail 94834 invoked by uid 500); 24 Aug 2007 08:40:50 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 94803 invoked by uid 500); 24 Aug 2007 08:40:50 -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 94794 invoked by uid 99); 24 Aug 2007 08:40:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Aug 2007 01:40:50 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Aug 2007 08:41:34 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 432FA71420C for ; Fri, 24 Aug 2007 01:40:31 -0700 (PDT) Message-ID: <15267555.1187944831270.JavaMail.jira@brutus> Date: Fri, 24 Aug 2007 01:40:31 -0700 (PDT) From: "Uri Boness (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Created: (OPENJPA-332) Add a new native sequence type where a separate sequence is used for each table in the database MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Add a new native sequence type where a separate sequence is used for each table in the database ----------------------------------------------------------------------------------------------- Key: OPENJPA-332 URL: https://issues.apache.org/jira/browse/OPENJPA-332 Project: OpenJPA Issue Type: Wish Components: jdbc Affects Versions: 0.9.7 Reporter: Uri Boness Currently, when defining the entity id in a parent class (mapped superclass), the native sequence type generates only one sequence which will be used by all enties/tables. The only possibility to have a sequence per class-hierarchy is by using a table sequence. In databases that support native sequence objects it is more natural to use such sequences rather than sequence tables. It would be nice if openjpa would provide a "class-hierarchy-native" sequence type which will use a sequence per mapped table. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.