JDBC getUpdateCount() may return wrong value for very large results
Details
| Detail name | Value |
|---|---|
| Changelog Number | 12178 |
| Type | Bug |
| Status | Resolved |
| Affected Versions | Exasol 7.0.0 |
| Fix Versions | Exasol 7.1.0 |
| Resolution Date | 2021-08-03 |
Description
The Exasol JDBC function getUpdateCount() returns an integer value.
If the result is larger than integer.MAX_VALUE (2147483647) the value returned is undefined.
Workaround
There is no workaround
Fix
In this case getUpdateCount() now returns integer.MAX_VALUE (2147483647), indicating that there may be more rows affected.