db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean T. Anderson" <...@bristowhill.com>
Subject Re: batchExecute : difference in behavior between Embedded and Client
Date Fri, 02 Mar 2007 22:48:17 GMT
Jean T. Anderson wrote:
> ...
> (2) On the client, if a sql procedure in the batch fails, the update
> count for that command is -1. I expected EXECUTE_FAILED: -3 [3].
> 
> Is the -1 correct? That seems like "success" to me.

d'oh! pilot error. It comes through as -3.


> thanks,
> 
>  -jean
> 
> 
> [1]
> http://db.apache.org/derby/docs/dev/adminguide/cadminappsclientdiffs.html
> [2]
> http://java.sun.com/j2se/1.4.2/docs/api/java/sql/Statement.html#executeBatch()
> [3]
> http://java.sun.com/j2se/1.3/docs/api/java/sql/Statement.html#executeBatch()


Mime
View raw message