Return-Path: Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: (qmail 33635 invoked from network); 28 Mar 2011 03:21:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Mar 2011 03:21:42 -0000 Received: (qmail 19847 invoked by uid 500); 28 Mar 2011 03:21:42 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 19772 invoked by uid 500); 28 Mar 2011 03:21:34 -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 19762 invoked by uid 99); 28 Mar 2011 03:21:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Mar 2011 03:21:31 +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.131] (HELO eos.apache.org) (140.211.11.131) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Mar 2011 03:21:29 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 30F3C2AC for ; Mon, 28 Mar 2011 03:21:10 +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: Mon, 28 Mar 2011 03:21:09 -0000 Message-ID: <20110328032109.93467.24596@eos.apache.org> Subject: =?utf-8?q?=5BDb-derby_Wiki=5D_Update_of_=22JdbcFourOneTesting=22_by_lilyw?= =?utf-8?q?ei?= Dear Wiki user, You have subscribed to a wiki page or wiki category on "Db-derby Wiki" for = change notification. The "JdbcFourOneTesting" page has been changed by lilywei. http://wiki.apache.org/db-derby/JdbcFourOneTesting?action=3Ddiff&rev1=3D6&r= ev2=3D7 -------------------------------------------------- || <> ||'''DBMD.getProcedureColumns(String,String,St= ring,String)'''||Spec clarification.||Nothing to do.Test:DatabaseMetaDataTe= st||None||Lily|| || <> ||'''DBMD.supportsStatementPooling()'''||Spec = clarification.||Nothing to do.Test:DatabaseMetaDataTest||None||Lily|| || <> ||'''Driver.getParentLogger()'''||Optional new= method. Returns the root logger for this Driver.||Derby doesn't use java.u= til.logging so this method can throw SQLFeatureNotSupportedException.||Smal= l||Lily|| - || <> ||'''!PreparedStatement.execute()'''||Should throw= a SQLTimeoutException if the query runs beyond the limit set by setQueryTi= meout().||The timeout work done for Statement.execute() should apply here.|= |Small||Lily|| + || <> ||'''!PreparedStatement.execute()'''||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. Test:StatementTest Note:timeout value is per row basis||Small||Lily|| - || <> ||'''!PreparedStatement.executeQuery()'''||Should = throw a SQLTimeoutException if the query runs beyond the limit set by setQu= eryTimeout().||The timeout work done for Statement.execute() should apply h= ere.||Small||Lily|| + || <> ||'''!PreparedStatement.executeQuery()'''||Sho= uld throw a SQLTimeoutException if the query runs beyond the limit set by s= etQueryTimeout().||The timeout work done for Statement.execute() should app= ly here. Test:StatementTest||Small||Lily|| - || <> ||'''!PreparedStatement.executeUpdate()'''||Should= throw a SQLTimeoutException if the query runs beyond the limit set by setQ= ueryTimeout().||The timeout work done for Statement.execute() should apply = here.||Small||Lily|| + || <> ||'''!PreparedStatement.executeUpdate()'''||Sh= ould throw a SQLTimeoutException if the query runs beyond the limit set by = setQueryTimeout().||The timeout work done for Statement.execute() should ap= ply here.Test:StatementTest||Small||Lily|| - || <> ||'''ResultSet.absolute(int)'''||If the argument i= s 0, then the ResultSet is positioned before the first row.||Verify that De= rby behaves this way. If it doesn't, make this change. Note that Derby does= behave this way. This is verified by !ScrollCursors2Test.testScrollInsensi= tivePositive()||Small||Lily|| + || <> ||'''ResultSet.absolute(int)'''||If the argume= nt is 0, then the ResultSet is positioned before the first row.||Verify tha= t Derby behaves this way. If it doesn't, make this change. Note that Derby = does behave this way. This is verified by !ScrollCursors2Test.testScrollIns= ensitivePositive()||Small||Lily|| - || <> ||'''ResultSet.getObject(int,Class)'''||Optional n= ew method. Returns the column as an object of the requested type, provided = that the coercion is supported in Appendix B, table B-1.||Add this overload= to the JDBC 4 implementation (uses generics). Some testing may be required= to verify that Derby really supports the required coercions.||Medium||Lily= || + || <> ||'''ResultSet.getObject(int,Class)'''||Option= al new method. Returns the column as an object of the requested type, provi= ded that the coercion is supported in Appendix B, table B-1.||Add this over= load to the JDBC 4 implementation (uses generics). Some testing may be requ= ired to verify that Derby really supports the required coercions. Test:Resu= ltSetTest||Medium||Lily|| - || <> ||'''ResultSet.getObject(String,Class)'''||Mandato= ry new method. Behaves like getObject(int,Class).||The work done for getObj= ect(int,Class) should apply here.||Small||Lily|| + || <> ||'''ResultSet.getObject(String,Class)'''||Man= datory new method. Behaves like getObject(int,Class).||The work done for ge= tObject(int,Class) should apply here. Test:ResultSetTest||Small||Lily|| - || <> ||'''Statement.addBatch(String)'''||Clarifies that= this method can't be called on a !PreparedStatement or !CallableStatement.= ||Verify that Derby behaves this way. If it doesn't, make this change.||Sma= ll||-|| + || <> ||'''Statement.addBatch(String)'''||Clarifies that= this method can't be called on a !PreparedStatement or !CallableStatement.= ||Verify that Derby behaves this way. If it doesn't, make this change.||Sma= ll||Lily|| - || <> ||'''Statement.closeOnCompletion()'''||Mandatory n= ew method. Automatically close the Statement when its dependent objects (li= ke ResultSets) are closed.||Implement this behavior.||Medium||-|| + || <> ||'''Statement.closeOnCompletion()'''||Mandatory n= ew method. Automatically close the Statement when its dependent objects (li= ke ResultSets) are closed.||Implement this behavior.||Medium||Lily|| - || <> ||'''Statement.execute(String)'''||Throw SQLTimeou= tException when the statement times out. Also don't allow this method to be= called on !PreparedStatements or !CallableStatements.||Implement this beha= vior.||Medium||-|| + || <> ||'''Statement.execute(String)'''||Throw SQLTimeou= tException when the statement times out. Also don't allow this method to be= called on !PreparedStatements or !CallableStatements.||Implement this beha= vior.||Medium||Lily|| - || <> ||'''Statement.execute(String,int)'''||See Stateme= nt.execute(String).||Changes for execute(String) should apply here.||Small|= |-|| + || <> ||'''Statement.execute(String,int)'''||See Stateme= nt.execute(String).||Changes for execute(String) should apply here.||Small|= |Lily|| - || <> ||'''Statement.execute(String,int[])'''||See State= ment.execute(String).||Changes for execute(String) should apply here.||Smal= l||-|| + || <> ||'''Statement.execute(String,int[])'''||See State= ment.execute(String).||Changes for execute(String) should apply here.||Smal= l||Lily|| - || <> ||'''Statement.execute(String,String[])'''||See St= atement.execute(String).||Changes for execute(String) should apply here.||S= mall||-|| + || <> ||'''Statement.execute(String,String[])'''||See St= atement.execute(String).||Changes for execute(String) should apply here.||S= mall||Lily|| - || <> ||'''Statement.executeBatch()'''||Throw SQLTimeout= Exception as for Statement.execute(String).||Changes for execute(String) sh= ould apply here.||Small||-|| + || <> ||'''Statement.executeBatch()'''||Throw SQLTimeout= Exception as for Statement.execute(String).||Changes for execute(String) sh= ould apply here.||Small||Lily|| || <> ||'''Statement.executeQuery(String)'''||See Statem= ent.execute(String).||Changes for execute(String) should apply here.||Small= ||-|| || <> ||'''Statement.executeUpdate(String)'''||See State= ment.execute(String).||Changes for execute(String) should apply here.||Smal= l||-|| || <> ||'''Statement.executeUpdate(String,int)'''||See S= tatement.execute(String).||Changes for execute(String) should apply here.||= Small||-||