public abstract class AbstractTransactionHandler extends Object implements org.jdbi.v3.core.transaction.TransactionHandler
Modifier and Type | Field and Description |
---|---|
protected ThreadLocal<Boolean> |
didTxnRollback |
Constructor and Description |
---|
AbstractTransactionHandler() |
Modifier and Type | Method and Description |
---|---|
<R,X extends Exception> |
inTransaction(org.jdbi.v3.core.Handle handle,
org.jdbi.v3.core.HandleCallback<R,X> callback) |
<R,X extends Exception> |
inTransaction(org.jdbi.v3.core.Handle handle,
org.jdbi.v3.core.transaction.TransactionIsolationLevel level,
org.jdbi.v3.core.HandleCallback<R,X> callback) |
protected final ThreadLocal<Boolean> didTxnRollback
public <R,X extends Exception> R inTransaction(org.jdbi.v3.core.Handle handle, org.jdbi.v3.core.HandleCallback<R,X> callback) throws X extends Exception
inTransaction
in interface org.jdbi.v3.core.transaction.TransactionHandler
X extends Exception
public <R,X extends Exception> R inTransaction(org.jdbi.v3.core.Handle handle, org.jdbi.v3.core.transaction.TransactionIsolationLevel level, org.jdbi.v3.core.HandleCallback<R,X> callback) throws X extends Exception
inTransaction
in interface org.jdbi.v3.core.transaction.TransactionHandler
X extends Exception