Oracle JDBC 11.2 Statement.getUpdateCount() Returns Negative Number
(Doc ID 2125139.1)
Last updated on FEBRUARY 20, 2019
Applies to:JDBC - Version 126.96.36.199.0 and later
Information in this document applies to any platform.
Oracle JDBC 188.8.131.52 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?
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document