In some conditions, such as deadlocks, DB2® will (implicitly) rollback changes but allow the transaction to continue. Setting jdbcService.db2Pool.prop_implicitRollbackOption=2 ensures that the connection is closed when the transaction has encountered an implicit rollback.