db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhille...@apache.org
Subject svn commit: r885531 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/UDTTest.java
Date Mon, 30 Nov 2009 18:40:55 GMT
Author: rhillegas
Date: Mon Nov 30 18:40:55 2009
New Revision: 885531

URL: http://svn.apache.org/viewvc?rev=885531&view=rev
Log:
DERBY-4454: Disable a test case on jsr169 because DECIMAL support is not as complete on that
platform.

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

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/UDTTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/UDTTest.java?rev=885531&r1=885530&r2=885531&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/UDTTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/UDTTest.java
Mon Nov 30 18:40:55 2009
@@ -33,6 +33,7 @@
 import org.apache.derbyTesting.junit.BaseJDBCTestCase;
 import org.apache.derbyTesting.junit.TestConfiguration;
 import org.apache.derbyTesting.junit.CleanDatabaseTestSetup;
+import org.apache.derbyTesting.junit.JDBC;
 
 /**
  * <p>
@@ -150,6 +151,10 @@
      */
     public void test_02_basicColumnRetvalParam() throws Exception
     {
+        //
+        // DECIMAL datatype used here and the JSR169 support for it is less complete.
+        //
+        if ( JDBC.vmSupportsJSR169() ) { return; }
         Connection conn = getConnection();
 
         goodStatement( conn, "create type Price external name 'org.apache.derbyTesting.functionTests.tests.lang.Price'
language java\n" );



Mime
View raw message