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