Class SerializableTransactionRunner

java.lang.Object
org.jdbi.v3.core.transaction.DelegatingTransactionHandler
org.jdbi.v3.core.transaction.SerializableTransactionRunner
All Implemented Interfaces:
TransactionHandler

public class SerializableTransactionRunner extends DelegatingTransactionHandler implements TransactionHandler
A TransactionHandler that automatically retries transactions that fail due to serialization failures, which can generally be resolved by automatically retrying the transaction. Any HandleCallback used under this runner should be aware that it may be invoked multiple times and should be idempotent.