Subject | Re: [Firebird-Java] getUpdateCount Problem |
---|---|
Author | Roman Rokytskyy |
Post date | 2004-12-16T21:57:25Z |
> We make a update and if getUpdateCount <= 0 make a insert. We areCan you please provide a sample code that reproduces that problem? From the
> 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.
code I fail to understand how can you get hasMoreResults=false unless you
call getUpdateCount() more than once (which is against specification).
Roman