db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhille...@apache.org
Subject svn commit: r1160680 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/RestrictedVTITest.java
Date Tue, 23 Aug 2011 13:33:59 GMT
Author: rhillegas
Date: Tue Aug 23 13:33:59 2011
New Revision: 1160680

URL: http://svn.apache.org/viewvc?rev=1160680&view=rev
Log:
DERBY-5370: Disable new test case for Restriction.toSQL() on JSR169 platforms.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/RestrictedVTITest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/RestrictedVTITest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/RestrictedVTITest.java?rev=1160680&r1=1160679&r2=1160680&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/RestrictedVTITest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/RestrictedVTITest.java
Tue Aug 23 13:33:59 2011
@@ -963,6 +963,14 @@ public class RestrictedVTITest  extends 
     {
         Connection conn = getConnection();
 
+        //
+        // The table function used by this test extends VTITemplate, an
+        // implementation of the JDBC 3.0 ResultSet. This table function will
+        // not run on JSR169 because the JDBC 3.0 ResultSet pulls in classes
+        // which don't exist in the JSR169 java.sql package (e.g., java.sql.Ref).
+        //
+        if ( JDBC.vmSupportsJSR169() ) { return; }
+
         // if this fails, then we need to add a new data type to this test
         vetDatatypeCount( conn, 22 );
         



Mime
View raw message