db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dag H. Wanvik (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-4362) Client returns -1 on Statement.getUpdateCount when a procedure is called, embedded returns 0.
Date Wed, 26 Aug 2009 20:55:59 GMT

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

Dag H. Wanvik updated DERBY-4362:
---------------------------------

    Attachment: Derby4316Repro.java

> 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