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