You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by bp...@apache.org on 2006/04/07 17:23:36 UTC

svn commit: r392313 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/callable.java

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());