Oracle JDBC 11.2 Statement.getUpdateCount() Returns Negative Number

(Doc ID 2125139.1)

Last updated on APRIL 07, 2016

Applies to:

JDBC - Version and later
Information in this document applies to any platform.


Oracle JDBC statement.getUpdateCount() returns negative number for the record count over 2.2 billion. The getUpdateCount method return type is integer, so the value is over flowing and ending up in negative value.
Even though all the records get inserted just fine, the count returned is wrong.

What is version of the driver that this issue is fixed?



Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms