Handling individual Java batch statement’s execution status
I have thousands of statements to be executed as batches, and if one of them fails due to a UNIQUE constraints, then how do I detect them separately (one with success and the rest with failures) and handle the validation accordingly? Will all statements’ status be marked as failed?