Oracle JDBC 11.2 Statement.getUpdateCount() Returns Negative Number
Last updated on APRIL 07, 2016
Applies to:JDBC - Version 184.108.40.206.0 and later
Information in this document applies to any platform.
Oracle JDBC 220.127.116.11 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