On 5/4/06, Bernt M. Johnsen <[EMAIL PROTECTED]> wrote:
The net result from the two mentioned commits is as far a I can see
the diff below. Myrna: can you confirm?

Index: java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/resultset.java
===================================================================
--- java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/resultset.java     (revision 399685)
+++ java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/resultset.java     (working copy)
@@ -798,12 +798,9 @@
                               try{
                               row.append(s.getString (i));
                               } catch(SQLException ex){
-                                       if (ex.getSQLState().equals("22005")) {
-                                               if (s.getBytes (i) != null)
-                row.append(new String(s.getBytes(i)));
-                                               else
-                row.append(s.getBytes(i));
-                                       } else throw ex;
+                                       if (ex.getSQLState().equals("22005"))
+                                               row.append("Invalid Conversion Error\n");
+                                       else throw ex;
                               }
                       }
                       row.append("}\n");
 
Hi Berndt,
 
I think that's it.
 
Myrna
 

Reply via email to