Re: Batch update failure handling

Skip to first unread message

Steven Schlansker

May 16, 2021, 11:05:52 PM5/16/21
Jdbi will have the same behavior as the underlying JDBC implementation. If you are in a transaction,
the entire batch is atomic. If you are not unfortunately the behavior seems to be implementation defined:
it is allowed to continue to process batch statements even after an error. You'll still get an exception
for the failure but some other work (even after it in the batch list) might persist.

> On May 16, 2021, at 12:27 PM, Sultan Seeum <> wrote:
> Hello
> I was doing some batch update with JDBI. Can anyone please let me know if one update fails then will it stop and rollback or it will continue?
> --
> You received this message because you are subscribed to the Google Groups "jDBI" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
> To view this discussion on the web visit

Reply all
Reply to author
0 new messages