Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 936 invoked from network); 27 Apr 2007 14:05:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Apr 2007 14:05:38 -0000 Received: (qmail 68101 invoked by uid 500); 27 Apr 2007 14:05:44 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 67816 invoked by uid 500); 27 Apr 2007 14:05:43 -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 67796 invoked by uid 99); 27 Apr 2007 14:05:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 07:05:42 -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, 27 Apr 2007 07:05:35 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 50A6D714076 for ; Fri, 27 Apr 2007 07:05:15 -0700 (PDT) Message-ID: <21692681.1177682715327.JavaMail.jira@brutus> Date: Fri, 27 Apr 2007 07:05:15 -0700 (PDT) From: =?utf-8?Q?J=C3=B8rgen_L=C3=B8land_=28JIRA=29?= To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-2595) junit tests uses getExportedKeys with table name null In-Reply-To: <4949443.1177590315286.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-2595?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] J=C3=B8rgen L=C3=B8land updated DERBY-2595: --------------------------------- Attachment: DERBY-2595-1.stat DERBY-2595-1.diff Modified org/apache/derbyTesting/junit/JDBC#dropSchema.=20 Instead of=20 ---------- rs =3D getExportedKeys(schema, null,...) //tablename =3D null while (rs.next()){...} It now performs --------------- ResultSet tables =3D getTables(schema,...); while (tables.next()){ rs =3D getExportedKeys(schema, tables.getString("TABLE_NAME"), ...) while (rs.next()){...} } This is in compliance with the JDBC API. allsuites runs without failures/er= rors. derbyall not run because only junit test code is modified.=20 > junit tests uses getExportedKeys with table name null > ----------------------------------------------------- > > Key: DERBY-2595 > URL: https://issues.apache.org/jira/browse/DERBY-2595 > Project: Derby > Issue Type: Bug > Components: Test > Affects Versions: 10.2.2.0 > Reporter: J=C3=B8rgen L=C3=B8land > Assigned To: J=C3=B8rgen L=C3=B8land > Attachments: DERBY-2595-1.diff, DERBY-2595-1.stat > > > org.apache.derbyTesting.junit.JDBC.dropSchema uses DatabaseMetadata#getEx= portedKeys with null as table name. This is not allowed according to java.s= ql.DatabaseMetaData.=20 --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.