Uses of Class
org.jdbi.v3.core.transaction.TransactionIsolationLevel
-
Packages that use TransactionIsolationLevel Package Description org.jdbi.v3.core The 'core' package hosts the top level interface into jdbi core.org.jdbi.v3.core.async org.jdbi.v3.core.transaction Thetransactionpackage implements the strategyJdbiuses to open and close transactions.org.jdbi.v3.sqlobject.transaction sqlobject.transactionannotations declaratively create transactions wrapping a SqlObject method. -
-
Uses of TransactionIsolationLevel in org.jdbi.v3.core
Methods in org.jdbi.v3.core that return TransactionIsolationLevel Modifier and Type Method Description TransactionIsolationLevelHandle. getTransactionIsolationLevel()Obtain the current transaction isolation level.Methods in org.jdbi.v3.core with parameters of type TransactionIsolationLevel Modifier and Type Method Description <R,X extends java.lang.Exception>
RHandle. inTransaction(TransactionIsolationLevel level, HandleCallback<R,X> callback)Executescallbackin a transaction, and returns the result of the callback.<R,X extends java.lang.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.voidHandle. setTransactionIsolation(TransactionIsolationLevel level)Deprecated.voidHandle. setTransactionIsolationLevel(TransactionIsolationLevel level)Set the transaction isolation level on the underlying connection if it is different from the current isolation level.<X extends java.lang.Exception>
voidHandle. useTransaction(TransactionIsolationLevel level, HandleConsumer<X> consumer)Executescallbackin a transaction.<X extends java.lang.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 TransactionIsolationLevel Modifier and Type Method Description <R,X extends java.lang.Exception>
java.util.concurrent.CompletionStage<R>AbstractJdbiExecutor. inTransaction(TransactionIsolationLevel level, HandleCallback<R,X> callback)<R,X extends java.lang.Exception>
java.util.concurrent.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 java.lang.Exception>
java.util.concurrent.CompletionStage<java.lang.Void>AbstractJdbiExecutor. useTransaction(TransactionIsolationLevel level, HandleConsumer<X> callback)<X extends java.lang.Exception>
java.util.concurrent.CompletionStage<java.lang.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
Methods in org.jdbi.v3.core.transaction that return TransactionIsolationLevel Modifier and Type Method Description static TransactionIsolationLevelTransactionIsolationLevel. valueOf(int val)Returns the enum constant of this type with the specified name.static TransactionIsolationLevelTransactionIsolationLevel. valueOf(java.lang.String name)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 TransactionIsolationLevel Modifier and Type Method Description <R,X extends java.lang.Exception>
RCMTTransactionHandler. inTransaction(Handle handle, TransactionIsolationLevel level, HandleCallback<R,X> callback)<R,X extends java.lang.Exception>
RDelegatingTransactionHandler. inTransaction(Handle handle, TransactionIsolationLevel level, HandleCallback<R,X> callback)<R,X extends java.lang.Exception>
RLocalTransactionHandler.BoundLocalTransactionHandler. inTransaction(Handle handle, TransactionIsolationLevel level, HandleCallback<R,X> callback)<R,X extends java.lang.Exception>
RLocalTransactionHandler. inTransaction(Handle handle, TransactionIsolationLevel level, HandleCallback<R,X> callback)<R,X extends java.lang.Exception>
RSerializableTransactionRunner. inTransaction(Handle handle, TransactionIsolationLevel level, HandleCallback<R,X> callback)<R,X extends java.lang.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 that return TransactionIsolationLevel Modifier and Type Method Description TransactionIsolationLevelvalue()The transaction isolation level.Methods in org.jdbi.v3.sqlobject.transaction with parameters of type TransactionIsolationLevel Modifier and Type Method Description default <R,X extends java.lang.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 java.lang.Exception>
voidTransactional. useTransaction(TransactionIsolationLevel isolation, TransactionalConsumer<This,X> callback)Executes the given callback within a transaction.
-