db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r434311 [2/2] - in /db/derby/code/branches/10.2/java: engine/org/apache/derby/impl/jdbc/ testing/org/apache/derbyTesting/functionTests/master/ testing/org/apache/derbyTesting/functionTests/master/DerbyNet/ testing/org/apache/derbyTesting/fu...
Date Thu, 24 Aug 2006 06:13:47 GMT
Modified: db/derby/code/branches/10.2/java/testing/org/apache/derbyTesting/functionTests/master/j9_foundation/parameterMapping.out
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.2/java/testing/org/apache/derbyTesting/functionTests/master/j9_foundation/parameterMapping.out?rev=434311&r1=434310&r2=434311&view=diff
==============================================================================
--- db/derby/code/branches/10.2/java/testing/org/apache/derbyTesting/functionTests/master/j9_foundation/parameterMapping.out
(original)
+++ db/derby/code/branches/10.2/java/testing/org/apache/derbyTesting/functionTests/master/j9_foundation/parameterMapping.out
Wed Aug 23 23:13:45 2006
@@ -152,6 +152,10 @@
   setObject(java.lang.String) as batch getShort=46 was null false JDBC MATCH(OK)
   setObject(java.lang.Boolean) getShort=1 was null false JDBC MATCH(OK)
   setObject(java.lang.Boolean) as batch getShort=1 was null false JDBC MATCH(OK)
+  setObject(java.lang.Byte) getShort=2 was null false JDBC MATCH(OK)
+  setObject(java.lang.Byte) as batch getShort=2 was null false JDBC MATCH(OK)
+  setObject(java.lang.Short) getShort=11 was null false JDBC MATCH(OK)
+  setObject(java.lang.Short) as batch getShort=11 was null false JDBC MATCH(OK)
   setObject(java.lang.Integer) getShort=74 was null false JDBC MATCH(OK)
   setObject(java.lang.Integer) as batch getShort=74 was null false JDBC MATCH(OK)
   setObject(java.lang.Long) getShort=79 was null false JDBC MATCH(OK)
@@ -383,6 +387,10 @@
   setObject(java.lang.String) as batch getInt=46 was null false JDBC MATCH(OK)
   setObject(java.lang.Boolean) getInt=1 was null false JDBC MATCH(OK)
   setObject(java.lang.Boolean) as batch getInt=1 was null false JDBC MATCH(OK)
+  setObject(java.lang.Byte) getInt=2 was null false JDBC MATCH(OK)
+  setObject(java.lang.Byte) as batch getInt=2 was null false JDBC MATCH(OK)
+  setObject(java.lang.Short) getInt=11 was null false JDBC MATCH(OK)
+  setObject(java.lang.Short) as batch getInt=11 was null false JDBC MATCH(OK)
   setObject(java.lang.Integer) getInt=74 was null false JDBC MATCH(OK)
   setObject(java.lang.Integer) as batch getInt=74 was null false JDBC MATCH(OK)
   setObject(java.lang.Long) getInt=79 was null false JDBC MATCH(OK)
@@ -614,6 +622,10 @@
   setObject(java.lang.String) as batch getLong=46 was null false JDBC MATCH(OK)
   setObject(java.lang.Boolean) getLong=1 was null false JDBC MATCH(OK)
   setObject(java.lang.Boolean) as batch getLong=1 was null false JDBC MATCH(OK)
+  setObject(java.lang.Byte) getLong=2 was null false JDBC MATCH(OK)
+  setObject(java.lang.Byte) as batch getLong=2 was null false JDBC MATCH(OK)
+  setObject(java.lang.Short) getLong=11 was null false JDBC MATCH(OK)
+  setObject(java.lang.Short) as batch getLong=11 was null false JDBC MATCH(OK)
   setObject(java.lang.Integer) getLong=74 was null false JDBC MATCH(OK)
   setObject(java.lang.Integer) as batch getLong=74 was null false JDBC MATCH(OK)
   setObject(java.lang.Long) getLong=79 was null false JDBC MATCH(OK)
@@ -845,6 +857,10 @@
   setObject(java.lang.String) as batch getFloat=46.0 was null false JDBC MATCH(OK)
   setObject(java.lang.Boolean) getFloat=1.0 was null false JDBC MATCH(OK)
   setObject(java.lang.Boolean) as batch getFloat=1.0 was null false JDBC MATCH(OK)
+  setObject(java.lang.Byte) getFloat=2.0 was null false JDBC MATCH(OK)
+  setObject(java.lang.Byte) as batch getFloat=2.0 was null false JDBC MATCH(OK)
+  setObject(java.lang.Short) getFloat=11.0 was null false JDBC MATCH(OK)
+  setObject(java.lang.Short) as batch getFloat=11.0 was null false JDBC MATCH(OK)
   setObject(java.lang.Integer) getFloat=74.0 was null false JDBC MATCH(OK)
   setObject(java.lang.Integer) as batch getFloat=74.0 was null false JDBC MATCH(OK)
   setObject(java.lang.Long) getFloat=79.0 was null false JDBC MATCH(OK)
@@ -1078,6 +1094,10 @@
   setObject(java.lang.String) as batch getDouble=46.0 was null false JDBC MATCH(OK)
   setObject(java.lang.Boolean) getDouble=1.0 was null false JDBC MATCH(OK)
   setObject(java.lang.Boolean) as batch getDouble=1.0 was null false JDBC MATCH(OK)
+  setObject(java.lang.Byte) getDouble=2.0 was null false JDBC MATCH(OK)
+  setObject(java.lang.Byte) as batch getDouble=2.0 was null false JDBC MATCH(OK)
+  setObject(java.lang.Short) getDouble=11.0 was null false JDBC MATCH(OK)
+  setObject(java.lang.Short) as batch getDouble=11.0 was null false JDBC MATCH(OK)
   setObject(java.lang.Integer) getDouble=74.0 was null false JDBC MATCH(OK)
   setObject(java.lang.Integer) as batch getDouble=74.0 was null false JDBC MATCH(OK)
   setObject(java.lang.Long) getDouble=79.0 was null false JDBC MATCH(OK)
@@ -1310,6 +1330,10 @@
   setObject(java.lang.String) as batch getDouble=46.0 was null false JDBC MATCH(OK)
   setObject(java.lang.Boolean) getDouble=1.0 was null false JDBC MATCH(OK)
   setObject(java.lang.Boolean) as batch getDouble=1.0 was null false JDBC MATCH(OK)
+  setObject(java.lang.Byte) getDouble=2.0 was null false JDBC MATCH(OK)
+  setObject(java.lang.Byte) as batch getDouble=2.0 was null false JDBC MATCH(OK)
+  setObject(java.lang.Short) getDouble=11.0 was null false JDBC MATCH(OK)
+  setObject(java.lang.Short) as batch getDouble=11.0 was null false JDBC MATCH(OK)
   setObject(java.lang.Integer) getDouble=74.0 was null false JDBC MATCH(OK)
   setObject(java.lang.Integer) as batch getDouble=74.0 was null false JDBC MATCH(OK)
   setObject(java.lang.Long) getDouble=79.0 was null false JDBC MATCH(OK)
@@ -1716,6 +1740,10 @@
   setObject(java.lang.String) as batch getString=46                                     
                     was null false JDBC MATCH(OK)
   setObject(java.lang.Boolean) getString=1                                              
             was null false JDBC MATCH(OK)
   setObject(java.lang.Boolean) as batch getString=1                                     
                      was null false JDBC MATCH(OK)
+  setObject(java.lang.Byte) getString=2                                                 
          was null false JDBC MATCH(OK)
+  setObject(java.lang.Byte) as batch getString=2                                        
                   was null false JDBC MATCH(OK)
+  setObject(java.lang.Short) getString=11                                               
           was null false JDBC MATCH(OK)
+  setObject(java.lang.Short) as batch getString=11                                      
                    was null false JDBC MATCH(OK)
   setObject(java.lang.Integer) getString=74                                             
             was null false JDBC MATCH(OK)
   setObject(java.lang.Integer) as batch getString=74                                    
                      was null false JDBC MATCH(OK)
   setObject(java.lang.Long) getString=79                                                
          was null false JDBC MATCH(OK)
@@ -1943,6 +1971,10 @@
   setObject(java.lang.String) as batch getString=46 was null false JDBC MATCH(OK)
   setObject(java.lang.Boolean) getString=1 was null false JDBC MATCH(OK)
   setObject(java.lang.Boolean) as batch getString=1 was null false JDBC MATCH(OK)
+  setObject(java.lang.Byte) getString=2 was null false JDBC MATCH(OK)
+  setObject(java.lang.Byte) as batch getString=2 was null false JDBC MATCH(OK)
+  setObject(java.lang.Short) getString=11 was null false JDBC MATCH(OK)
+  setObject(java.lang.Short) as batch getString=11 was null false JDBC MATCH(OK)
   setObject(java.lang.Integer) getString=74 was null false JDBC MATCH(OK)
   setObject(java.lang.Integer) as batch getString=74 was null false JDBC MATCH(OK)
   setObject(java.lang.Long) getString=79 was null false JDBC MATCH(OK)
@@ -2170,6 +2202,10 @@
   setObject(java.lang.String) as batch getString=46 was null false JDBC MATCH(OK)
   setObject(java.lang.Boolean) getString=1 was null false JDBC MATCH(OK)
   setObject(java.lang.Boolean) as batch getString=1 was null false JDBC MATCH(OK)
+  setObject(java.lang.Byte) getString=2 was null false JDBC MATCH(OK)
+  setObject(java.lang.Byte) as batch getString=2 was null false JDBC MATCH(OK)
+  setObject(java.lang.Short) getString=11 was null false JDBC MATCH(OK)
+  setObject(java.lang.Short) as batch getString=11 was null false JDBC MATCH(OK)
   setObject(java.lang.Integer) getString=74 was null false JDBC MATCH(OK)
   setObject(java.lang.Integer) as batch getString=74 was null false JDBC MATCH(OK)
   setObject(java.lang.Long) getString=79 was null false JDBC MATCH(OK)
@@ -2343,6 +2379,10 @@
   setObject(java.lang.String) as batch  (XCL12):An attempt was made to put a data value of
type 'java.lang.String' into a data value of type 'VARCHAR () FOR BIT DATA'. JDBC FAIL VARCHAR(60)
FOR BIT DATA
   setObject(java.lang.Boolean) IC JDBC MATCH (INVALID)
   setObject(java.lang.Boolean) as batch IC JDBC MATCH (INVALID)
+  setObject(java.lang.Byte) IC JDBC MATCH (INVALID)
+  setObject(java.lang.Byte) as batch IC JDBC MATCH (INVALID)
+  setObject(java.lang.Short) IC JDBC MATCH (INVALID)
+  setObject(java.lang.Short) as batch IC JDBC MATCH (INVALID)
   setObject(java.lang.Integer) IC JDBC MATCH (INVALID)
   setObject(java.lang.Integer) as batch IC JDBC MATCH (INVALID)
   setObject(java.lang.Long) IC JDBC MATCH (INVALID)
@@ -2769,6 +2809,10 @@
   setObject(java.lang.String) as batch  (22007):The syntax of the string representation of
a datetime value is incorrect. JDBC FAIL TIME
   setObject(java.lang.Boolean) IC JDBC MATCH (INVALID)
   setObject(java.lang.Boolean) as batch IC JDBC MATCH (INVALID)
+  setObject(java.lang.Byte) IC JDBC MATCH (INVALID)
+  setObject(java.lang.Byte) as batch IC JDBC MATCH (INVALID)
+  setObject(java.lang.Short) IC JDBC MATCH (INVALID)
+  setObject(java.lang.Short) as batch IC JDBC MATCH (INVALID)
   setObject(java.lang.Integer) IC JDBC MATCH (INVALID)
   setObject(java.lang.Integer) as batch IC JDBC MATCH (INVALID)
   setObject(java.lang.Long) IC JDBC MATCH (INVALID)
@@ -2984,6 +3028,10 @@
   setObject(java.lang.String) as batch  (22007):The syntax of the string representation of
a datetime value is incorrect. JDBC FAIL TIMESTAMP
   setObject(java.lang.Boolean) IC JDBC MATCH (INVALID)
   setObject(java.lang.Boolean) as batch IC JDBC MATCH (INVALID)
+  setObject(java.lang.Byte) IC JDBC MATCH (INVALID)
+  setObject(java.lang.Byte) as batch IC JDBC MATCH (INVALID)
+  setObject(java.lang.Short) IC JDBC MATCH (INVALID)
+  setObject(java.lang.Short) as batch IC JDBC MATCH (INVALID)
   setObject(java.lang.Integer) IC JDBC MATCH (INVALID)
   setObject(java.lang.Integer) as batch IC JDBC MATCH (INVALID)
   setObject(java.lang.Long) IC JDBC MATCH (INVALID)
@@ -3198,6 +3246,10 @@
   setObject(java.lang.String) as batch getClob=0x34,0x36 was null false CLOUD EXT (OK)
   setObject(java.lang.Boolean) IC JDBC MATCH (INVALID)
   setObject(java.lang.Boolean) as batch IC JDBC MATCH (INVALID)
+  setObject(java.lang.Byte) IC JDBC MATCH (INVALID)
+  setObject(java.lang.Byte) as batch IC JDBC MATCH (INVALID)
+  setObject(java.lang.Short) IC JDBC MATCH (INVALID)
+  setObject(java.lang.Short) as batch IC JDBC MATCH (INVALID)
   setObject(java.lang.Integer) IC JDBC MATCH (INVALID)
   setObject(java.lang.Integer) as batch IC JDBC MATCH (INVALID)
   setObject(java.lang.Long) IC JDBC MATCH (INVALID)
@@ -3369,6 +3421,14 @@
   setObject(java.lang.String) as batch IC JDBC MATCH (INVALID)
   setObject(java.lang.Boolean) IC JDBC MATCH (INVALID)
   setObject(java.lang.Boolean) as batch IC JDBC MATCH (INVALID)
+  setObject(java.lang.Byte) IC JDBC MATCH (INVALID)
+  setObject(java.lang.Byte) as batch IC JDBC MATCH (INVALID)
+  setObject(java.lang.Short) IC JDBC MATCH (INVALID)
+  setObject(java.lang.Short) as batch IC JDBC MATCH (INVALID)
+  setObject(java.lang.Byte) IC JDBC MATCH (INVALID)
+  setObject(java.lang.Byte) as batch IC JDBC MATCH (INVALID)
+  setObject(java.lang.Short) IC JDBC MATCH (INVALID)
+  setObject(java.lang.Short) as batch IC JDBC MATCH (INVALID)
   setObject(java.lang.Integer) IC JDBC MATCH (INVALID)
   setObject(java.lang.Integer) as batch IC JDBC MATCH (INVALID)
   setObject(java.lang.Long) IC JDBC MATCH (INVALID)

Modified: db/derby/code/branches/10.2/java/testing/org/apache/derbyTesting/functionTests/master/parameterMapping.out
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.2/java/testing/org/apache/derbyTesting/functionTests/master/parameterMapping.out?rev=434311&r1=434310&r2=434311&view=diff
==============================================================================
--- db/derby/code/branches/10.2/java/testing/org/apache/derbyTesting/functionTests/master/parameterMapping.out
(original)
+++ db/derby/code/branches/10.2/java/testing/org/apache/derbyTesting/functionTests/master/parameterMapping.out
Wed Aug 23 23:13:45 2006
@@ -160,6 +160,10 @@
   setObject(java.math.BigDecimal) as batch getShort=72 was null false JDBC MATCH(OK)
   setObject(java.lang.Boolean) getShort=1 was null false JDBC MATCH(OK)
   setObject(java.lang.Boolean) as batch getShort=1 was null false JDBC MATCH(OK)
+  setObject(java.lang.Byte) getShort=2 was null false JDBC MATCH(OK)
+  setObject(java.lang.Byte) as batch getShort=2 was null false JDBC MATCH(OK)
+  setObject(java.lang.Short) getShort=11 was null false JDBC MATCH(OK)
+  setObject(java.lang.Short) as batch getShort=11 was null false JDBC MATCH(OK)
   setObject(java.lang.Integer) getShort=74 was null false JDBC MATCH(OK)
   setObject(java.lang.Integer) as batch getShort=74 was null false JDBC MATCH(OK)
   setObject(java.lang.Long) getShort=79 was null false JDBC MATCH(OK)
@@ -400,6 +404,10 @@
   setObject(java.math.BigDecimal) as batch getInt=72 was null false JDBC MATCH(OK)
   setObject(java.lang.Boolean) getInt=1 was null false JDBC MATCH(OK)
   setObject(java.lang.Boolean) as batch getInt=1 was null false JDBC MATCH(OK)
+  setObject(java.lang.Byte) getInt=2 was null false JDBC MATCH(OK)
+  setObject(java.lang.Byte) as batch getInt=2 was null false JDBC MATCH(OK)
+  setObject(java.lang.Short) getInt=11 was null false JDBC MATCH(OK)
+  setObject(java.lang.Short) as batch getInt=11 was null false JDBC MATCH(OK)
   setObject(java.lang.Integer) getInt=74 was null false JDBC MATCH(OK)
   setObject(java.lang.Integer) as batch getInt=74 was null false JDBC MATCH(OK)
   setObject(java.lang.Long) getInt=79 was null false JDBC MATCH(OK)
@@ -640,6 +648,10 @@
   setObject(java.math.BigDecimal) as batch getLong=72 was null false JDBC MATCH(OK)
   setObject(java.lang.Boolean) getLong=1 was null false JDBC MATCH(OK)
   setObject(java.lang.Boolean) as batch getLong=1 was null false JDBC MATCH(OK)
+  setObject(java.lang.Byte) getLong=2 was null false JDBC MATCH(OK)
+  setObject(java.lang.Byte) as batch getLong=2 was null false JDBC MATCH(OK)
+  setObject(java.lang.Short) getLong=11 was null false JDBC MATCH(OK)
+  setObject(java.lang.Short) as batch getLong=11 was null false JDBC MATCH(OK)
   setObject(java.lang.Integer) getLong=74 was null false JDBC MATCH(OK)
   setObject(java.lang.Integer) as batch getLong=74 was null false JDBC MATCH(OK)
   setObject(java.lang.Long) getLong=79 was null false JDBC MATCH(OK)
@@ -880,6 +892,10 @@
   setObject(java.math.BigDecimal) as batch getFloat=72.0 was null false JDBC MATCH(OK)
   setObject(java.lang.Boolean) getFloat=1.0 was null false JDBC MATCH(OK)
   setObject(java.lang.Boolean) as batch getFloat=1.0 was null false JDBC MATCH(OK)
+  setObject(java.lang.Byte) getFloat=2.0 was null false JDBC MATCH(OK)
+  setObject(java.lang.Byte) as batch getFloat=2.0 was null false JDBC MATCH(OK)
+  setObject(java.lang.Short) getFloat=11.0 was null false JDBC MATCH(OK)
+  setObject(java.lang.Short) as batch getFloat=11.0 was null false JDBC MATCH(OK)
   setObject(java.lang.Integer) getFloat=74.0 was null false JDBC MATCH(OK)
   setObject(java.lang.Integer) as batch getFloat=74.0 was null false JDBC MATCH(OK)
   setObject(java.lang.Long) getFloat=79.0 was null false JDBC MATCH(OK)
@@ -1121,6 +1137,10 @@
   setObject(java.math.BigDecimal) as batch getDouble=72.0 was null false JDBC MATCH(OK)
   setObject(java.lang.Boolean) getDouble=1.0 was null false JDBC MATCH(OK)
   setObject(java.lang.Boolean) as batch getDouble=1.0 was null false JDBC MATCH(OK)
+  setObject(java.lang.Byte) getDouble=2.0 was null false JDBC MATCH(OK)
+  setObject(java.lang.Byte) as batch getDouble=2.0 was null false JDBC MATCH(OK)
+  setObject(java.lang.Short) getDouble=11.0 was null false JDBC MATCH(OK)
+  setObject(java.lang.Short) as batch getDouble=11.0 was null false JDBC MATCH(OK)
   setObject(java.lang.Integer) getDouble=74.0 was null false JDBC MATCH(OK)
   setObject(java.lang.Integer) as batch getDouble=74.0 was null false JDBC MATCH(OK)
   setObject(java.lang.Long) getDouble=79.0 was null false JDBC MATCH(OK)
@@ -1361,6 +1381,10 @@
   setObject(java.math.BigDecimal) as batch getDouble=72.0 was null false JDBC MATCH(OK)
   setObject(java.lang.Boolean) getDouble=1.0 was null false JDBC MATCH(OK)
   setObject(java.lang.Boolean) as batch getDouble=1.0 was null false JDBC MATCH(OK)
+  setObject(java.lang.Byte) getDouble=2.0 was null false JDBC MATCH(OK)
+  setObject(java.lang.Byte) as batch getDouble=2.0 was null false JDBC MATCH(OK)
+  setObject(java.lang.Short) getDouble=11.0 was null false JDBC MATCH(OK)
+  setObject(java.lang.Short) as batch getDouble=11.0 was null false JDBC MATCH(OK)
   setObject(java.lang.Integer) getDouble=74.0 was null false JDBC MATCH(OK)
   setObject(java.lang.Integer) as batch getDouble=74.0 was null false JDBC MATCH(OK)
   setObject(java.lang.Long) getDouble=79.0 was null false JDBC MATCH(OK)
@@ -1601,6 +1625,10 @@
   setObject(java.math.BigDecimal) as batch getBigDecimal=72.00000 was null false JDBC MATCH(OK)
   setObject(java.lang.Boolean) getBigDecimal=1.00000 was null false JDBC MATCH(OK)
   setObject(java.lang.Boolean) as batch getBigDecimal=1.00000 was null false JDBC MATCH(OK)
+  setObject(java.lang.Byte) getBigDecimal=2.00000 was null false JDBC MATCH(OK)
+  setObject(java.lang.Byte) as batch getBigDecimal=2.00000 was null false JDBC MATCH(OK)
+  setObject(java.lang.Short) getBigDecimal=11.00000 was null false JDBC MATCH(OK)
+  setObject(java.lang.Short) as batch getBigDecimal=11.00000 was null false JDBC MATCH(OK)
   setObject(java.lang.Integer) getBigDecimal=74.00000 was null false JDBC MATCH(OK)
   setObject(java.lang.Integer) as batch getBigDecimal=74.00000 was null false JDBC MATCH(OK)
   setObject(java.lang.Long) getBigDecimal=79.00000 was null false JDBC MATCH(OK)
@@ -1846,6 +1874,10 @@
   setObject(java.math.BigDecimal) as batch getString=72                                 
                         was null false JDBC MATCH(OK)
   setObject(java.lang.Boolean) getString=1                                              
             was null false JDBC MATCH(OK)
   setObject(java.lang.Boolean) as batch getString=1                                     
                      was null false JDBC MATCH(OK)
+  setObject(java.lang.Byte) getString=2                                                 
          was null false JDBC MATCH(OK)
+  setObject(java.lang.Byte) as batch getString=2                                        
                   was null false JDBC MATCH(OK)
+  setObject(java.lang.Short) getString=11                                               
           was null false JDBC MATCH(OK)
+  setObject(java.lang.Short) as batch getString=11                                      
                    was null false JDBC MATCH(OK)
   setObject(java.lang.Integer) getString=74                                             
             was null false JDBC MATCH(OK)
   setObject(java.lang.Integer) as batch getString=74                                    
                      was null false JDBC MATCH(OK)
   setObject(java.lang.Long) getString=79                                                
          was null false JDBC MATCH(OK)
@@ -2080,6 +2112,10 @@
   setObject(java.math.BigDecimal) as batch getString=72 was null false JDBC MATCH(OK)
   setObject(java.lang.Boolean) getString=1 was null false JDBC MATCH(OK)
   setObject(java.lang.Boolean) as batch getString=1 was null false JDBC MATCH(OK)
+  setObject(java.lang.Byte) getString=2 was null false JDBC MATCH(OK)
+  setObject(java.lang.Byte) as batch getString=2 was null false JDBC MATCH(OK)
+  setObject(java.lang.Short) getString=11 was null false JDBC MATCH(OK)
+  setObject(java.lang.Short) as batch getString=11 was null false JDBC MATCH(OK)
   setObject(java.lang.Integer) getString=74 was null false JDBC MATCH(OK)
   setObject(java.lang.Integer) as batch getString=74 was null false JDBC MATCH(OK)
   setObject(java.lang.Long) getString=79 was null false JDBC MATCH(OK)
@@ -2314,6 +2350,10 @@
   setObject(java.math.BigDecimal) as batch getString=72 was null false JDBC MATCH(OK)
   setObject(java.lang.Boolean) getString=1 was null false JDBC MATCH(OK)
   setObject(java.lang.Boolean) as batch getString=1 was null false JDBC MATCH(OK)
+  setObject(java.lang.Byte) getString=2 was null false JDBC MATCH(OK)
+  setObject(java.lang.Byte) as batch getString=2 was null false JDBC MATCH(OK)
+  setObject(java.lang.Short) getString=11 was null false JDBC MATCH(OK)
+  setObject(java.lang.Short) as batch getString=11 was null false JDBC MATCH(OK)
   setObject(java.lang.Integer) getString=74 was null false JDBC MATCH(OK)
   setObject(java.lang.Integer) as batch getString=74 was null false JDBC MATCH(OK)
   setObject(java.lang.Long) getString=79 was null false JDBC MATCH(OK)
@@ -2495,6 +2535,10 @@
   setObject(java.math.BigDecimal) as batch IC JDBC MATCH (INVALID)
   setObject(java.lang.Boolean) IC JDBC MATCH (INVALID)
   setObject(java.lang.Boolean) as batch IC JDBC MATCH (INVALID)
+  setObject(java.lang.Byte) IC JDBC MATCH (INVALID)
+  setObject(java.lang.Byte) as batch IC JDBC MATCH (INVALID)
+  setObject(java.lang.Short) IC JDBC MATCH (INVALID)
+  setObject(java.lang.Short) as batch IC JDBC MATCH (INVALID)
   setObject(java.lang.Integer) IC JDBC MATCH (INVALID)
   setObject(java.lang.Integer) as batch IC JDBC MATCH (INVALID)
   setObject(java.lang.Long) IC JDBC MATCH (INVALID)
@@ -2715,6 +2759,10 @@
   setObject(java.math.BigDecimal) as batch IC JDBC MATCH (INVALID)
   setObject(java.lang.Boolean) IC JDBC MATCH (INVALID)
   setObject(java.lang.Boolean) as batch IC JDBC MATCH (INVALID)
+  setObject(java.lang.Byte) IC JDBC MATCH (INVALID)
+  setObject(java.lang.Byte) as batch IC JDBC MATCH (INVALID)
+  setObject(java.lang.Short) IC JDBC MATCH (INVALID)
+  setObject(java.lang.Short) as batch IC JDBC MATCH (INVALID)
   setObject(java.lang.Integer) IC JDBC MATCH (INVALID)
   setObject(java.lang.Integer) as batch IC JDBC MATCH (INVALID)
   setObject(java.lang.Long) IC JDBC MATCH (INVALID)
@@ -2937,6 +2985,10 @@
   setObject(java.math.BigDecimal) as batch IC JDBC MATCH (INVALID)
   setObject(java.lang.Boolean) IC JDBC MATCH (INVALID)
   setObject(java.lang.Boolean) as batch IC JDBC MATCH (INVALID)
+  setObject(java.lang.Byte) IC JDBC MATCH (INVALID)
+  setObject(java.lang.Byte) as batch IC JDBC MATCH (INVALID)
+  setObject(java.lang.Short) IC JDBC MATCH (INVALID)
+  setObject(java.lang.Short) as batch IC JDBC MATCH (INVALID)
   setObject(java.lang.Integer) IC JDBC MATCH (INVALID)
   setObject(java.lang.Integer) as batch IC JDBC MATCH (INVALID)
   setObject(java.lang.Long) IC JDBC MATCH (INVALID)
@@ -3160,6 +3212,10 @@
   setObject(java.math.BigDecimal) as batch IC JDBC MATCH (INVALID)
   setObject(java.lang.Boolean) IC JDBC MATCH (INVALID)
   setObject(java.lang.Boolean) as batch IC JDBC MATCH (INVALID)
+  setObject(java.lang.Byte) IC JDBC MATCH (INVALID)
+  setObject(java.lang.Byte) as batch IC JDBC MATCH (INVALID)
+  setObject(java.lang.Short) IC JDBC MATCH (INVALID)
+  setObject(java.lang.Short) as batch IC JDBC MATCH (INVALID)
   setObject(java.lang.Integer) IC JDBC MATCH (INVALID)
   setObject(java.lang.Integer) as batch IC JDBC MATCH (INVALID)
   setObject(java.lang.Long) IC JDBC MATCH (INVALID)
@@ -3382,6 +3438,10 @@
   setObject(java.math.BigDecimal) as batch IC JDBC MATCH (INVALID)
   setObject(java.lang.Boolean) IC JDBC MATCH (INVALID)
   setObject(java.lang.Boolean) as batch IC JDBC MATCH (INVALID)
+  setObject(java.lang.Byte) IC JDBC MATCH (INVALID)
+  setObject(java.lang.Byte) as batch IC JDBC MATCH (INVALID)
+  setObject(java.lang.Short) IC JDBC MATCH (INVALID)
+  setObject(java.lang.Short) as batch IC JDBC MATCH (INVALID)
   setObject(java.lang.Integer) IC JDBC MATCH (INVALID)
   setObject(java.lang.Integer) as batch IC JDBC MATCH (INVALID)
   setObject(java.lang.Long) IC JDBC MATCH (INVALID)
@@ -3561,6 +3621,10 @@
   setObject(java.math.BigDecimal) as batch IC JDBC MATCH (INVALID)
   setObject(java.lang.Boolean) IC JDBC MATCH (INVALID)
   setObject(java.lang.Boolean) as batch IC JDBC MATCH (INVALID)
+  setObject(java.lang.Byte) IC JDBC MATCH (INVALID)
+  setObject(java.lang.Byte) as batch IC JDBC MATCH (INVALID)
+  setObject(java.lang.Short) IC JDBC MATCH (INVALID)
+  setObject(java.lang.Short) as batch IC JDBC MATCH (INVALID)
   setObject(java.lang.Integer) IC JDBC MATCH (INVALID)
   setObject(java.lang.Integer) as batch IC JDBC MATCH (INVALID)
   setObject(java.lang.Long) IC JDBC MATCH (INVALID)

Modified: db/derby/code/branches/10.2/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/parameterMapping.java
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.2/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/parameterMapping.java?rev=434311&r1=434310&r2=434311&view=diff
==============================================================================
--- db/derby/code/branches/10.2/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/parameterMapping.java
(original)
+++ db/derby/code/branches/10.2/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/parameterMapping.java
Wed Aug 23 23:13:45 2006
@@ -282,6 +282,11 @@
 /*10 Timestamp */       { _, _, _, _, _, _, _, _, _, _, _, X, X, X, _, _, _, X, X, X, _,
_},
 /*11 Blob   */          { _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _,
X},
 /*12 Clob */            { _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, X,
_},
+
+// Byte and Short were added to this table in JDBC 4.0. (See DERBY-1500.)
+
+/*13 Byte */            { X, X, X, X, X, X, X, X, X, X, X, X, X, X, _, _, _, _, _, _, _,
_},
+/*14 Short */           { X, X, X, X, X, X, X, X, X, X, X, X, X, X, _, _, _, _, _, _, _,
_},
 	};
 
 
@@ -2571,6 +2576,13 @@
 		if(HAVE_BIG_DECIMAL)
 			setXXX_setObject(s, psi, psq, type, BigDecimal.valueOf(72L), "java.math.BigDecimal", 1);
 		setXXX_setObject(s, psi, psq, type, Boolean.TRUE, "java.lang.Boolean", 2);
+
+		// DERBY-1500: setObject() should work for Byte and Short too.
+		setXXX_setObject(s, psi, psq, type, new Byte((byte) 2),
+						 "java.lang.Byte", 13);
+		setXXX_setObject(s, psi, psq, type, new Short((short) 11),
+						 "java.lang.Short", 14);
+
 		setXXX_setObject(s, psi, psq, type, new Integer(74), "java.lang.Integer", 3);
 		setXXX_setObject(s, psi, psq, type, new Long(79), "java.lang.Long", 4);
 		setXXX_setObject(s, psi, psq, type, new Float(76.3f), "java.lang.Float", 5);



Mime
View raw message