db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bpendle...@apache.org
Subject svn commit: r392313 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/callable.java
Date Fri, 07 Apr 2006 15:23:36 GMT
Author: bpendleton
Date: Fri Apr  7 08:23:33 2006
New Revision: 392313

URL: http://svn.apache.org/viewcvs?rev=392313&view=rev
Log:
DERBY-1184: registerOutParameter(int,int,String) should throw exception.

The test was out of sync with the SQL States in the code. In revision
392060, the SQL state "0AX01" was replaced by "0A000". This change
updates the test to use the new SQL State, and callable.java now passes.


Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/callable.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/callable.java
URL: http://svn.apache.org/viewcvs/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/callable.java?rev=392313&r1=392312&r2=392313&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/callable.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/callable.java
Fri Apr  7 08:23:33 2006
@@ -121,7 +121,7 @@
 				}
 				catch (SQLException expectedException)
 				{
-					if (! "0AX01".equals(expectedException.getSQLState()))
+					if (! "0A000".equals(expectedException.getSQLState()))
 					{
 						System.out.println("DERBY-1184: Caught UNexpected: " +
 							expectedException.getMessage());



Mime
View raw message