db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmars...@apache.org
Subject svn commit: r124273 - /incubator/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DRDAStatement.java
Date Wed, 05 Jan 2005 20:43:40 GMT
Author: kmarsden
Date: Wed Jan  5 12:43:38 2005
New Revision: 124273

URL: http://svn.apache.org/viewcvs?view=rev&rev=124273
Log:
Fix Method not found error for Network Server j9 tests 

Modified:
   incubator/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DRDAStatement.java

Modified: incubator/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DRDAStatement.java
Url: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DRDAStatement.java?view=diff&rev=124273&p1=incubator/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DRDAStatement.java&r1=124272&p2=incubator/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DRDAStatement.java&r2=124273
==============================================================================
--- incubator/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DRDAStatement.java	(original)
+++ incubator/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DRDAStatement.java	Wed
Jan  5 12:43:38 2005
@@ -1534,7 +1534,7 @@
 		Class[] getParameterMetaDataParam = {};
 		try {
 			Method sh =
-				getPreparedStatement().getClass().getMethod("getParameterMetaData", getParameterMetaDataParam);
+				getPreparedStatement().getClass().getMethod("getEmbedParameterSetMetaData", getParameterMetaDataParam);
 			pmeta = (EmbedParameterSetMetaData)
 				sh.invoke(getPreparedStatement(),null);
 			stmtPmeta = pmeta;
@@ -1565,6 +1565,7 @@
 		}
 		catch (Exception e)
 		{
+			
 			handleReflectionException(e);
 		}
 		return retVal;
@@ -1608,7 +1609,9 @@
 				throw (SQLException) t;
 			}
 			else
+			{
 				throw Util.javaException(t);
+			}
 		}
 		else
 			// invoke can throw IllegalAccessException or 

Mime
View raw message