JDBC: added long update functionality

Details

Detail name Value
Changelog Number 4841
Type Improvement
Status Resolved
Fix Versions EXASOL 6.0.3
Resolution Date 2017-08-29

Please update EXASOL-2065:

We have added the methods long executeLargeUpdate() and long [] executeLargeBatch(), introduced in Java 1.8 (JDBC standard 4.2), that make it possible to retrieve larger update counts that would not fit into the data type int.
In order to use those methods in Java older than 1.8 you have to cast the Statement object to an EXAStatement first.
In case of an exception in executeLargeBatch() you need to catch an EXABatchUpdateException, where from you can get the update counts using getLargeUpdateCounts(). This exception is defined in exajdbc.jar.