Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 89198 invoked from network); 2 Jul 2009 22:35:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Jul 2009 22:35:23 -0000 Received: (qmail 69276 invoked by uid 500); 2 Jul 2009 22:35:33 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 69242 invoked by uid 500); 2 Jul 2009 22:35:33 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 69234 invoked by uid 99); 2 Jul 2009 22:35:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 22:35:33 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [192.18.6.24] (HELO gmp-eb-inf-2.sun.com) (192.18.6.24) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 22:35:21 +0000 Received: from fe-emea-10.sun.com (gmp-eb-lb-1-fe3.eu.sun.com [192.18.6.10]) by gmp-eb-inf-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n62MYxsu028339 for ; Thu, 2 Jul 2009 22:35:00 GMT MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from conversion-daemon.fe-emea-10.sun.com by fe-emea-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009)) id <0KM600300EMU8100@fe-emea-10.sun.com> for derby-dev@db.apache.org; Thu, 02 Jul 2009 23:34:59 +0100 (BST) Received: from khepri23.norway.sun.com ([unknown] [129.159.112.235]) by fe-emea-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009)) with ESMTPSA id <0KM600A3UEQBS250@fe-emea-10.sun.com> for derby-dev@db.apache.org; Thu, 02 Jul 2009 23:34:59 +0100 (BST) Date: Fri, 03 Jul 2009 00:34:59 +0200 From: Dag.Wanvik@Sun.COM (Dag H. Wanvik) Subject: Re: [jira] Updated: (DERBY-4160) getMetaData().getIndexInfo crashes with "ERROR X0Y68: Column 'PARAM1' already exists." In-reply-to: <739425620.1246558307188.JavaMail.jira@brutus> Sender: Dag.Wanvik@Sun.COM To: derby-dev@db.apache.org Message-id: References: <739425620.1246558307188.JavaMail.jira@brutus> User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.1 (usg-unix-v) X-Virus-Checked: Checked by ClamAV on apache.org "Rick Hillegas (JIRA)" writes: > [ https://issues.apache.org/jira/browse/DERBY-4160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] > > Rick Hillegas updated DERBY-4160: > --------------------------------- > > Issue & fix info: (was: [Release Note Needed]) > Urgency: Normal > Bug behavior facts: (was: [Crash]) > > Triaged July 2, 2009: This does not seem to satify our definition of a crash. I don't see why a release note is needed. The auto-translation from "[Existing Application Impact" to [Release Note Needed] was done here and shows that the original use of "[Existing Application Impact]" was wrong (the poster had used it to mean the bug had an impact on his application, rather than that the *fix* would have an impact, most likely...). Cf. Dag H. Wanvik made changes - 30/Jun/09 09:12 AM Field Original Value New Value Issue & fix info [Existing Application Impact] [Release Note Needed] Dag > >> getMetaData().getIndexInfo crashes with "ERROR X0Y68: Column 'PARAM1' already exists." >> -------------------------------------------------------------------------------------- >> >> Key: DERBY-4160 >> URL: https://issues.apache.org/jira/browse/DERBY-4160 >> Project: Derby >> Issue Type: Bug >> Components: SQL >> Affects Versions: 10.4.2.0 >> Environment: FreeBSD java 1.6.0, 64-Bit Server VM; DataNucleus JDO >> Reporter: ArtemGr >> >> The following code in DataNucleus: >> rs = conn.getMetaData().getIndexInfo(catalogName, schemaName, tableName, false, >> true); >> triggers an Exception (http://gist.github.com/95679): >> Caused by: java.sql.SQLException: Column 'PARAM1' already exists. >> at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:45) >> at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(SQLExceptionFactory40.java:119) >> at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(SQLExceptionFactory40.java:70) >> ... 105 more >> Caused by: ERROR X0Y68: Column 'PARAM1' already exists. >> at org.apache.derby.iapi.error.StandardException.newException(StandardException.java:303) >> at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.duplicateDescriptorException(DataDictionaryImpl.java:1678) >> at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.addDescriptor(DataDictionaryImpl.java:1662) >> at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.addSPSParams(DataDictionaryImpl.java:3682) >> at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.updateSPS(DataDictionaryImpl.java:3830) >> at org.apache.derby.iapi.sql.dictionary.SPSDescriptor.updateSYSSTATEMENTS(SPSDescriptor.java:1112) >> at org.apache.derby.iapi.sql.dictionary.SPSDescriptor.getPreparedStatement(SPSDescriptor.java:736) >> at org.apache.derby.iapi.sql.dictionary.SPSDescriptor.getPreparedStatement(SPSDescriptor.java:642) >> at org.apache.derby.impl.sql.compile.ExecSPSNode.generate(ExecSPSNode.java:177) >> at org.apache.derby.impl.sql.GenericStatement.prepMinion(GenericStatement.java:447) >> at org.apache.derby.impl.sql.GenericStatement.prepare(GenericStatement.java:88) >> at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(GenericLanguageConnectionContext.java:794) >> at org.apache.derby.impl.jdbc.EmbedPreparedStatement.(EmbedPreparedStatement.java:128) >> ... 99 more > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. > -- Dag H. Wanvik, staff engineer Sun Microsystems, Databases (Java DB/Derby) Haakon VII gt. 7b, N-7485 Trondheim, Norway Tel: x43496/+47 73842196, Fax: +47 73842101