JDBC executeBatch doesn't throw exception on error

Details

Detail name Value
Changelog Number 4839
Type Bug
Status Resolved
Affected Versions EXASOL 6.0.0
Fix Versions EXASOL 6.0.3
Resolution Date 2017-07-24

ExecuteBatch just give back EXECUTE_FAILED in the return code array if one statement failed executing.
New (JDBC standard conform) behavior: starting with 6.0.3 executeBatch throws an exception if one of the statements returned an exception. The statements in the batch, that are located after the one with the exception, aren't executed in EXASOL.

Changed behavior

ExecuteBatch just give back EXECUTE_FAILED in the return code array if one statement failed executing. New (JDBC standard conform) behavior: starting with 6.0.3 executeBatch throws an exception if one of the statements returned an exception. The statements in the batch, that are located after the one with the exception, aren't executed in EXASOL.