Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 44654 invoked from network); 21 Sep 2010 21:15:56 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 Sep 2010 21:15:56 -0000 Received: (qmail 73499 invoked by uid 500); 21 Sep 2010 21:15:56 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 73456 invoked by uid 500); 21 Sep 2010 21:15:56 -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 73337 invoked by uid 99); 21 Sep 2010 21:15:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Sep 2010 21:15:55 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Sep 2010 21:15:55 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8LLFY8R023951 for ; Tue, 21 Sep 2010 21:15:35 GMT Message-ID: <8760125.328141285103734931.JavaMail.jira@thor> Date: Tue, 21 Sep 2010 17:15:34 -0400 (EDT) From: "Michael Dick (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Closed: (OPENJPA-1800) Duplicate column created for sybase In-Reply-To: <7762799.235821284665852562.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OPENJPA-1800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Dick closed OPENJPA-1800. --------------------------------- Resolution: Fixed > Duplicate column created for sybase > ----------------------------------- > > Key: OPENJPA-1800 > URL: https://issues.apache.org/jira/browse/OPENJPA-1800 > Project: OpenJPA > Issue Type: Bug > Components: jdbc > Reporter: Michael Dick > Assignee: Michael Dick > Priority: Minor > > In order to execute FOR UPDATE statements against Sybase we create a special column named UNQ_INDEX. > Some of our schema tools cause the column to be inserted twice (in memory). I've seen this happen with testcases which use the DROP_TABLES constant - but any code that uses the following persistence property could see the same behavior : > openjpa.jdbc.SynchronizeMappings=buildSchema(ForeignKeys=true,SchemaAction='drop,add') -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.