Subject Re: [Firebird-Java] getUpdateCount Problem
Author Roman Rokytskyy
> We make a update and if getUpdateCount <= 0 make a insert. We are
> reusing PreparedStatements.
> This work in version 1.0.0, but in 1.5.5 not, (getUpdateCout
> returns -1) We have modified AbstractStatement. getUpdateCount()
> and its working, but we don t know if there are another situation
> when this is not correct.

Can you please provide a sample code that reproduces that problem? From the
code I fail to understand how can you get hasMoreResults=false unless you
call getUpdateCount() more than once (which is against specification).