You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ddlutils-dev@db.apache.org by to...@apache.org on 2005/11/21 22:25:22 UTC

svn commit: r347988 - in /db/ddlutils/trunk/src/test/org/apache/ddlutils/platform: TestCloudscapePlatform.java TestDerbyPlatform.java

Author: tomdz
Date: Mon Nov 21 13:25:16 2005
New Revision: 347988

URL: http://svn.apache.org/viewcvs?rev=347988&view=rev
Log:
Fix testcases according to the changes in the Cloudscape/Derby mapping of JDBC types BIT and BOOLEAN

Modified:
    db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestCloudscapePlatform.java
    db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestDerbyPlatform.java

Modified: db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestCloudscapePlatform.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestCloudscapePlatform.java?rev=347988&r1=347987&r2=347988&view=diff
==============================================================================
--- db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestCloudscapePlatform.java (original)
+++ db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestCloudscapePlatform.java Mon Nov 21 13:25:16 2005
@@ -47,9 +47,9 @@
             "    \"COL_ARRAY\"           BLOB,\n"+
             "    \"COL_BIGINT\"          BIGINT,\n"+
             "    \"COL_BINARY\"          CHAR(254) FOR BIT DATA,\n"+
-            "    \"COL_BIT\"             CHAR FOR BIT DATA,\n"+
+            "    \"COL_BIT\"             SMALLINT,\n"+
             "    \"COL_BLOB\"            BLOB,\n"+
-            "    \"COL_BOOLEAN\"         CHAR FOR BIT DATA,\n"+
+            "    \"COL_BOOLEAN\"         SMALLINT,\n"+
             "    \"COL_CHAR\"            CHAR(15),\n"+
             "    \"COL_CLOB\"            CLOB,\n"+
             "    \"COL_DATALINK\"        LONG VARCHAR FOR BIT DATA,\n"+

Modified: db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestDerbyPlatform.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestDerbyPlatform.java?rev=347988&r1=347987&r2=347988&view=diff
==============================================================================
--- db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestDerbyPlatform.java (original)
+++ db/ddlutils/trunk/src/test/org/apache/ddlutils/platform/TestDerbyPlatform.java Mon Nov 21 13:25:16 2005
@@ -47,9 +47,9 @@
             "    \"COL_ARRAY\"           BLOB,\n"+
             "    \"COL_BIGINT\"          BIGINT,\n"+
             "    \"COL_BINARY\"          CHAR(254) FOR BIT DATA,\n"+
-            "    \"COL_BIT\"             CHAR FOR BIT DATA,\n"+
+            "    \"COL_BIT\"             SMALLINT,\n"+
             "    \"COL_BLOB\"            BLOB,\n"+
-            "    \"COL_BOOLEAN\"         CHAR FOR BIT DATA,\n"+
+            "    \"COL_BOOLEAN\"         SMALLINT,\n"+
             "    \"COL_CHAR\"            CHAR(15),\n"+
             "    \"COL_CLOB\"            CLOB,\n"+
             "    \"COL_DATALINK\"        LONG VARCHAR FOR BIT DATA,\n"+