db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (DERBY-4362) Client returns -1 on Statement.getUpdateCount when a procedure is called, embedded returns 0.
Date Thu, 27 Aug 2009 08:42:59 GMT

     [ 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.


Mime
View raw message