From dev-return-15061-apmail-openjpa-dev-archive=openjpa.apache.org@openjpa.apache.org Tue Feb 16 13:41:51 2010 Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 27113 invoked from network); 16 Feb 2010 13:41:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Feb 2010 13:41:51 -0000 Received: (qmail 27903 invoked by uid 500); 16 Feb 2010 13:41:51 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 27876 invoked by uid 500); 16 Feb 2010 13:41:51 -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 27866 invoked by uid 99); 16 Feb 2010 13:41:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Feb 2010 13:41:51 +0000 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; Tue, 16 Feb 2010 13:41:49 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1A1C2234C1EE for ; Tue, 16 Feb 2010 05:41:28 -0800 (PST) Message-ID: <145689104.298811266327688102.JavaMail.jira@brutus.apache.org> Date: Tue, 16 Feb 2010 13:41:28 +0000 (UTC) From: "Laird Nelson (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Created: (OPENJPA-1514) DBDictionary instances do not call setAutoAssigned() where appropriate MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org DBDictionary instances do not call setAutoAssigned() where appropriate ---------------------------------------------------------------------- Key: OPENJPA-1514 URL: https://issues.apache.org/jira/browse/OPENJPA-1514 Project: OpenJPA Issue Type: Bug Components: sql Affects Versions: 2.0.0-beta, 2.0.0-M3, 2.0.0-M2, 2.0.0-M1, 1.2.2, 1.2.1, 1.2.0, 1.1.0, 1.0.3, 1.0.2, 1.0.1, 1.0.0, 1.0.4, 1.0.5, 1.1.1, 1.2.3, 1.3.0, 2.0.0, 2.0.1, 2.1.0 Reporter: Laird Nelson Although a DBDictionary instance by definition has access to the database's information that would allow it to mark a new Column as being autoassigned, DBDictionaries do not do this in their newColumn() method. It seems to me that all DBDictinonary instances should be required by contract to detect when a column is a database-managed identity or sequential column and should call Column#setAutoAssigned(boolean) as appropriate. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.