Return-Path: Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: (qmail 71098 invoked from network); 16 Dec 2010 20:00:23 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Dec 2010 20:00:23 -0000 Received: (qmail 69702 invoked by uid 500); 16 Dec 2010 20:00:23 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 69672 invoked by uid 500); 16 Dec 2010 20:00:23 -0000 Mailing-List: contact derby-commits-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Derby Development" List-Id: Delivered-To: mailing list derby-commits@db.apache.org Received: (qmail 69665 invoked by uid 99); 16 Dec 2010 20:00:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Dec 2010 20:00:23 +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.131] (HELO eos.apache.org) (140.211.11.131) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Dec 2010 20:00:20 +0000 Received: from eosnew.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id CD469456 for ; Thu, 16 Dec 2010 19:59:58 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Thu, 16 Dec 2010 19:59:58 -0000 Message-ID: <20101216195958.38507.12087@eosnew.apache.org> Subject: =?utf-8?q?=5BDb-derby_Wiki=5D_Update_of_=22JdbcFourOne=22_by_RichardHille?= =?utf-8?q?gas?= X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Db-derby Wiki" for = change notification. The "JdbcFourOne" page has been changed by RichardHillegas. http://wiki.apache.org/db-derby/JdbcFourOne?action=3Ddiff&rev1=3D7&rev2=3D8 -------------------------------------------------- || <> ||'''CallableStatement.getObject(String,Class)'''|= |Optional new method. See getObject(int,Class).||Add to JDBC 4 implementati= on (requires generics).||Small||-|| || <> ||'''Connection.abort(Executor)'''||Mandatory new = method. Closes the Connection and lets the Executor release resources lazil= y.||Add to JDBC 4 implementation (requires java.util.concurrent.Executor in= terface which was introduced in Java 5).||Medium||-|| || <> ||'''Connection.getNetworkTimeout()'''||Optional n= ew method.||Throw SQLFeatureNotSupportedException.||Small||-|| - || <> ||'''Connection.getTypeMap()'''||Spec clarificatio= n.||No action needed.||None||-|| + || <> ||'''Connection.getTypeMap()'''||Spec clarific= ation.||No action needed.||None||-|| || <> ||'''Connection.getSchema()'''||Mandatory new meth= od. Gets the name of the session's schema.||Add to JSR 169 implementation.|= |Small||-|| || <> ||'''Connection.setNetworkTimeout(Executor)'''||Op= tional new method. Sets the client timeout.||Throw SQLFeatureNotSupportedEx= ception.||Small||-|| || <> ||'''Connection.setSchema(String)'''||Mandatory ne= w method. Sets the name of the session's schema.||Add to JSR 169 implementa= tion.||Small||-|| - || <> ||'''Connection.setTypeMap(Map)'''||Spec clarifica= tion.||No action needed.||None||-|| + || <> ||'''Connection.setTypeMap(Map)'''||Spec clari= fication.||No action needed.||None||-|| || <> ||'''DBMD.generatedKeyAlwaysReturned()'''||Mandato= ry new method. Reports whether Statement.getGeneratedKeys() always returns = a ResultSet even after Statement.execute(String query, String[] columnNames= ) is called with columnNames that are not identity columns.||Embedded Derby= throws an exception if you call execute(String,String[]) with columnNames = that are not identity columns, so the return value of getGeneracase, getGen= eratedKeys() returns a ResultSet with generated values. Note that Derby onl= y allows you to define one identity column per table. Because of the networ= k behavior, I think that DBMD.generatedKeyAlwaysReturned() should return tr= ue.||Small||-|| || <> ||'''DBMD.getPseudoColumns(String,String,String,St= ring)'''||Mandatory new method. Shows the hidden columns in a table.||Derby= doesn't have hidden columns. Return an empty ResultSet with the correct co= lumn structure. ||Small||-|| || <> ||'''DBMD.getColumns(String,String,String,String)'= ''||Changed method. New field reports whether a column is generated as defi= ned by the SQL Standard, part 2, section 4.14.8. These are columns defined = by generation clauses built out of deterministic expressions involving othe= r columns in the row. These are what Derby call generaated colmns||Add this= field to the metadata query.||Small||-|| - || <> ||'''DBMD.getProcedureColumns(String,String,String= ,String)'''||Spec clarification.||Nothing to do.||None||-|| + || <> ||'''DBMD.getProcedureColumns(String,String,St= ring,String)'''||Spec clarification.||Nothing to do.||None||-|| - || <> ||'''DBMD.supportsStatementPooling()'''||Spec clar= ification.||Nothing to do.||None||-|| + || <> ||'''DBMD.supportsStatementPooling()'''||Spec = clarification.||Nothing to do.||None||-|| || <> ||'''Driver.getParentLogger()'''||Optional new met= hod. Returns the root logger for this Driver.||Derby doesn't use java.util.= logging so this method can throw SQLFeatureNotSupportedException.||Small||-= || || <> ||'''PreparedStatement.execute()'''||Should throw = a SQLTimeoutException if the query runs beyond the limit set by setQueryTim= eout().||The timeout work done for Statement.execute() should apply here.||= Small||-|| || <> ||'''PreparedStatement.executeQuery()'''||Should t= hrow a SQLTimeoutException if the query runs beyond the limit set by setQue= ryTimeout().||The timeout work done for Statement.execute() should apply he= re.||Small||-|| @@ -48, +48 @@ || <> ||'''Statement.executeUpdate(String,int[])'''||See= Statement.execute(String).||Changes for execute(String) should apply here.= ||Small||-|| || <> ||'''Statement.executeUpdate(String,String[])'''||= See Statement.execute(String).||Changes for execute(String) should apply he= re.||Small||-|| || <> ||'''Statement.isCloseOnCompletion()'''||Mandatory= new method. Reports whether the Statement automatically closes when its de= pendent objects (like ResultSets) are closed.||Implement this behavior.||Sm= all||-|| - || <> ||'''Statement.setQueryTimeout(int)'''||Spec clari= fication.||Nothing to do.||None||-|| + || <> ||'''Statement.setQueryTimeout(int)'''||Spec c= larification.||Nothing to do.||None||-|| || <> ||'''CommonDataSource.getParentLogger()'''||Option= al new method. Returns the root logger for this data source.||Derby doesn't= use java.util.logging so this method can throw SQLFeatureNotSupportedExcep= tion.||Small||-|| =20