Client returns -1 on Statement.getUpdateCount when a procedure is called,
embedded returns 0.
---------------------------------------------------------------------------------------------
Key: DERBY-4362
URL: https://issues.apache.org/jira/browse/DERBY-4362
Project: Derby
Issue Type: Bug
Components: Network Client
Reporter: Dag H. Wanvik
I think embedded is correct here, -1 should be used for when there are no more
results left,
cf Javadoc
http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Statement.html#getUpdateCount():
"if the result is a ResultSet object or there are no more results, -1 is
returned."
I attach a repro in the form of a Derby Junit test.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.