db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r818730 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/OffsetFetchNextTest.java
Date Fri, 25 Sep 2009 06:08:32 GMT
Author: mamta
Date: Fri Sep 25 06:08:31 2009
New Revision: 818730

URL: http://svn.apache.org/viewvc?rev=818730&view=rev
Log:
DERBY-4384

Disabling the test fixture testDynamicArgsMetaData from running in JSR169 environment because
it makes a call PreparedStatement.getParameterMetaData() which is unavailable in JSR169.


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

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/OffsetFetchNextTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/OffsetFetchNextTest.java?rev=818730&r1=818729&r2=818730&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/OffsetFetchNextTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/OffsetFetchNextTest.java
Fri Sep 25 06:08:31 2009
@@ -781,6 +781,11 @@
      * Test dynamic arguments
      */
     public void testDynamicArgsMetaData() throws SQLException {
+
+    	//since there is no getParameterMetaData() call available in JSR169 
+    	//implementations, do not run this test if we are running JSR169
+    	if (JDBC.vmSupportsJSR169()) return;
+
         PreparedStatement ps = prepareStatement(
             "select * from t1 where a = ? order by b " +
             "offset ? rows fetch next ? rows only");



Mime
View raw message