[ 
https://issues.apache.org/jira/browse/DERBY-4362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Knut Anders Hatlen resolved DERBY-4362.
---------------------------------------

    Resolution: Duplicate

I believe this is the same issue as DERBY-211. Please reopen if you think this 
is a different issue.

> 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
>         Attachments: Derby4316Repro.java
>
>
> 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.

Reply via email to