Uses of Enum
org.jdbi.v3.core.transaction.TransactionIsolationLevel
Packages that use 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
Methods in org.jdbi.v3.core that return TransactionIsolationLevelModifier and TypeMethodDescriptionHandle.getTransactionIsolationLevel()
Obtain the current transaction isolation level.Methods in org.jdbi.v3.core with parameters of type TransactionIsolationLevelModifier 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
Methods in org.jdbi.v3.core.async with parameters of type TransactionIsolationLevelModifier 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
Subclasses with type arguments of type TransactionIsolationLevel in org.jdbi.v3.core.transactionModifier and TypeClassDescriptionenum
Supported transaction isolation levels.Methods in org.jdbi.v3.core.transaction that return TransactionIsolationLevelModifier 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.Methods in org.jdbi.v3.core.transaction with parameters of type TransactionIsolationLevelModifier 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
Methods in org.jdbi.v3.sqlobject.transaction with parameters of type TransactionIsolationLevelModifier 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)