Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 73971 invoked from network); 28 Jan 2011 19:01:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Jan 2011 19:01:10 -0000 Received: (qmail 49279 invoked by uid 500); 28 Jan 2011 19:01:10 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 49176 invoked by uid 500); 28 Jan 2011 19:01:09 -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 49169 invoked by uid 99); 28 Jan 2011 19:01:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jan 2011 19:01:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.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; Fri, 28 Jan 2011 19:01:07 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p0SJ0jMS024701 for ; Fri, 28 Jan 2011 19:00:45 GMT Message-ID: <18893208.271221296241245415.JavaMail.jira@thor> Date: Fri, 28 Jan 2011 14:00:45 -0500 (EST) From: "Rick Hillegas (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-4869) Implement JDBC 4.1, the api increment introduced by Java 7 In-Reply-To: <18489786.105421288207880307.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-4869?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Rick Hillegas updated DERBY-4869: --------------------------------- Attachment: derby-4869-23-aa-dbmd.diff Attaching derby-4869-23-aa-dbmd.diff. This patch makes the JDBC 4.1 changes= to DatabaseMetaData. I am running regression tests now. This patch makes the following changes to Derby's implementations of Databa= seMetaData: 1) Adds generatedKeyAlwaysReturned(), which returns true. 2) Adds getPseudoColumns(), which returns an empty ResultSet. 3) Adds an IS_GENERATEDCOLUMN column to the ResultSet returned by getColumn= s(). This column is "YES" for columns defined by generation clauses and "NO= " otherwise. Touches the following files: ------------- M java/engine/org/apache/derby/impl/jdbc/metadata.properties New query for getPseudoColumn() and new column added to the getColumns() qu= ery. ------------- M java/engine/org/apache/derby/impl/jdbc/EmbedDatabaseMetaData.java New bits in the embedded metadata. ------------- M java/client/org/apache/derby/client/am/DatabaseMetaData.java New bits in the network metadata. ------------- M java/testing/org/apache/derbyTesting/functionTests/tests/lang/ViewsT= est.java A java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/Wra= pper41DBMD.java M java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/Dat= abaseMetaDataTest.java Tests. > Implement JDBC 4.1, the api increment introduced by Java 7 > ---------------------------------------------------------- > > Key: DERBY-4869 > URL: https://issues.apache.org/jira/browse/DERBY-4869 > Project: Derby > Issue Type: Improvement > Components: JDBC > Reporter: Rick Hillegas > Assignee: Rick Hillegas > Attachments: derby-4869-01-ac-rs-getObject.diff, derby-4869-01-ad= -rs-getObject.diff, derby-4869-02-aa-cs-ps-addBatch.diff, derby-4869-02-ab-= cs-ps-addBatch.diff, derby-4869-03-aa-rs-getObject-errorCleanup.diff, derby= -4869-04-aa-rs-getObject-simplification.diff, derby-4869-05-aa-rs-getObject= -exception.diff, derby-4869-06-aa-cs-getObject.diff, derby-4869-06-ab-cs-ge= tObject.diff, derby-4869-07-aa-timedisplacement.diff, derby-4869-08-ac-null= Handling.diff, derby-4869-09-ac-abort.diff, derby-4869-10-aa-abortSecurityT= est.diff, derby-4869-11-aa-abortHidePrivates.diff, derby-4869-12-aa-xaAndPo= oledAborts.diff, derby-4869-13-aa-xaAndPooledAbortsSecurityManager.diff, de= rby-4869-14-ac-closeOnCompletion.diff, derby-4869-15-aa-autoGenKeys.diff, d= erby-4869-16-aa-clarifyStatementSpec.diff, derby-4869-17-aa-statementTimeou= tException.diff, derby-4869-18-aa-getSetSchema.diff, derby-4869-19-aa-getSe= tNetworkTimeout.diff, derby-4869-20-aa-setSchemaFastPath.diff, derby-4869-2= 1-aa-implicitlyClosedResultSets.diff, derby-4869-22-aa-unstableStatementTes= t.diff, derby-4869-23-aa-dbmd.diff, derby-4869-exp-01-aa-noTryCatch.diff, d= isable-tests.diff, JDBC_4.1_Changes.html, timezone.diff > > > This is a master issue logged to track our work implementing JDBC 4.1, th= e changes to the java.sql and javax.sql packages introduced by Java 7. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.