db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmars...@apache.org
Subject svn commit: r153047 - in incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests: master/DerbyNetClient/parameterMapping.out tests/jdbcapi/parameterMapping.java
Date Wed, 09 Feb 2005 12:06:14 GMT
Author: kmarsden
Date: Wed Feb  9 04:06:09 2005
New Revision: 153047

URL: http://svn.apache.org/viewcvs?view=rev&rev=153047
Log:
Fix parameterMapping output for network cient


Modified:
    incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNetClient/parameterMapping.out
    incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/parameterMapping.java

Modified: incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNetClient/parameterMapping.out
URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNetClient/parameterMapping.out?view=diff&r1=153046&r2=153047
==============================================================================
--- incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNetClient/parameterMapping.out
(original)
+++ incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNetClient/parameterMapping.out
Wed Feb  9 04:06:09 2005
@@ -872,7 +872,7 @@
   setBinaryStream(null) getString=null was null true CLOUD EXT (OK)
   setCharacterStream() getString=89                                                     
     was null false JDBC MATCH(OK)
   setCharacterStream(null) getString=null was null true JDBC MATCH(OK)
-  setClob() getString=org.apache.derby.client.am.Clob@177b3cd                      was null
false CLOUD EXT (OK)
+  setClob() getString=<OBJECT.toString()> was null false CLOUD EXT (OK)
   setClob(null) getString=null was null true CLOUD EXT (OK)
   setBlob() IC JDBC MATCH (INVALID)
   setBlob(null) getString=null was null true CLOUD EXT (OK)
@@ -982,7 +982,7 @@
   setBinaryStream(null) getString=null was null true CLOUD EXT (OK)
   setCharacterStream() getString=89 was null false JDBC MATCH(OK)
   setCharacterStream(null) getString=null was null true JDBC MATCH(OK)
-  setClob() getString=org.apache.derby.client.am.Clob@84da23 was null false CLOUD EXT (OK)
+  setClob() getString=<OBJECT.toString()> was null false CLOUD EXT (OK)
   setClob(null) getString=null was null true CLOUD EXT (OK)
   setBlob() IC JDBC MATCH (INVALID)
   setBlob(null) getString=null was null true CLOUD EXT (OK)
@@ -1092,7 +1092,7 @@
   setBinaryStream(null) getString=null was null true CLOUD EXT (OK)
   setCharacterStream() getString=89 was null false JDBC MATCH(OK)
   setCharacterStream(null) getString=null was null true JDBC MATCH(OK)
-  setClob() getString=org.apache.derby.client.am.Clob@d3d6f was null false CLOUD EXT (OK)
+  setClob() getString=<OBJECT.toString()> was null false CLOUD EXT (OK)
   setClob(null) getString=null was null true CLOUD EXT (OK)
   setBlob() IC JDBC MATCH (INVALID)
   setBlob(null) getString=null was null true CLOUD EXT (OK)

Modified: incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/parameterMapping.java
URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/parameterMapping.java?view=diff&r1=153046&r2=153047
==============================================================================
--- incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/parameterMapping.java
(original)
+++ incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/parameterMapping.java
Wed Feb  9 04:06:09 2005
@@ -1959,7 +1959,8 @@
 				// Setting a java.sql.Clob value works with
 				// a character column but sets the value to
 				// be the object's toString. This is probably a bug with JCC.
-				if (s.startsWith("com.ibm.db2.jcc."))
+				if (s.startsWith("com.ibm.db2.jcc.") || 
+					s.startsWith("org.apache.derby.client"))
 					s = "<OBJECT.toString()>";
 
 



Mime
View raw message