Uses of Enum
org.jdbi.v3.core.transaction.TransactionIsolationLevel
Package
Description
The 'core' package hosts the top level interface into jdbi core.
The
transaction
package implements the strategy
Jdbi
uses to open and close transactions.sqlobject.transaction
annotations declaratively create transactions
wrapping a SqlObject method.-
Uses of TransactionIsolationLevel in org.jdbi.v3.core
Modifier and TypeMethodDescriptionHandle.getTransactionIsolationLevel()
Obtain the current transaction isolation level.Modifier and TypeMethodDescription<R,
X extends Exception>
RHandle.inTransaction
(TransactionIsolationLevel level, HandleCallback<R, X> callback) Executescallback
in a transaction, and returns the result of the callback.<R,
X extends Exception>
RJdbi.inTransaction
(TransactionIsolationLevel level, HandleCallback<R, X> callback) A convenience function which manages the lifecycle of a handle and yields it to a callback for use by clients.void
Handle.setTransactionIsolation
(TransactionIsolationLevel level) Deprecated.void
Handle.setTransactionIsolationLevel
(TransactionIsolationLevel level) Set the transaction isolation level on the underlying connection if it is different from the current isolation level.<X extends Exception>
voidHandle.useTransaction
(TransactionIsolationLevel level, HandleConsumer<X> consumer) Executescallback
in a transaction.<X extends Exception>
voidJdbi.useTransaction
(TransactionIsolationLevel level, HandleConsumer<X> callback) A convenience function which manages the lifecycle of a handle and yields it to a callback for use by clients. -
Uses of TransactionIsolationLevel in org.jdbi.v3.core.async
Modifier and TypeMethodDescription<R,
X extends Exception>
CompletionStage<R> AbstractJdbiExecutor.inTransaction
(TransactionIsolationLevel level, HandleCallback<R, X> callback) <R,
X extends Exception>
CompletionStage<R> JdbiExecutor.inTransaction
(TransactionIsolationLevel level, HandleCallback<R, X> callback) A convenience function which manages the lifecycle of a handle and yields it to a callback for use by clients.<X extends Exception>
CompletionStage<Void> AbstractJdbiExecutor.useTransaction
(TransactionIsolationLevel level, HandleConsumer<X> callback) <X extends Exception>
CompletionStage<Void> JdbiExecutor.useTransaction
(TransactionIsolationLevel level, HandleConsumer<X> callback) A convenience function which manages the lifecycle of a handle and yields it to a callback for use by clients. -
Uses of TransactionIsolationLevel in org.jdbi.v3.core.transaction
Modifier and TypeMethodDescriptionstatic TransactionIsolationLevel
TransactionIsolationLevel.valueOf
(int val) Returns the enum constant of this type with the specified name.static TransactionIsolationLevel
Returns the enum constant of this type with the specified name.static TransactionIsolationLevel[]
TransactionIsolationLevel.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescription<R,
X extends Exception>
RCMTTransactionHandler.inTransaction
(Handle handle, TransactionIsolationLevel level, HandleCallback<R, X> callback) <R,
X extends Exception>
RDelegatingTransactionHandler.inTransaction
(Handle handle, TransactionIsolationLevel level, HandleCallback<R, X> callback) <R,
X extends Exception>
RLocalTransactionHandler.inTransaction
(Handle handle, TransactionIsolationLevel level, HandleCallback<R, X> callback) <R,
X extends Exception>
RSerializableTransactionRunner.inTransaction
(Handle handle, TransactionIsolationLevel level, HandleCallback<R, X> callback) <R,
X extends Exception>
RTransactionHandler.inTransaction
(Handle handle, TransactionIsolationLevel level, HandleCallback<R, X> callback) Run a transaction. -
Uses of TransactionIsolationLevel in org.jdbi.v3.sqlobject.transaction
Modifier and TypeMethodDescriptiondefault <R,
X extends Exception>
RTransactional.inTransaction
(TransactionIsolationLevel isolation, TransactionalCallback<R, This, X> callback) Executes the given callback within a transaction, returning the value returned by the callback.default <X extends Exception>
voidTransactional.useTransaction
(TransactionIsolationLevel isolation, TransactionalConsumer<This, X> callback) Executes the given callback within a transaction.
Handle.setTransactionIsolationLevel(int)