Uses of Interface
org.jooq.TransactionContext
Package
Description
This package contains jOOQ's public API.
This package contains jOOQ's implementation classes.
-
Uses of TransactionContext in org.jooq
Modifier and TypeMethodDescription@NotNull TransactionContext
Set the exception that has caused the rollback to the current transaction context.@NotNull TransactionContext
TransactionContext.causeThrowable
(Throwable cause) Set the throwable that has caused the rollback to the current transaction context.@NotNull TransactionContext
TransactionContext.transaction
(Transaction transaction) Set the user-defined transaction object to the current transaction context.Modifier and TypeMethodDescriptionvoid
TransactionProvider.begin
(TransactionContext ctx) Begin a new transaction.default void
TransactionListener.beginEnd
(TransactionContext ctx) Called afterTransactionProvider.begin(TransactionContext)
.default void
TransactionListener.beginStart
(TransactionContext ctx) Called beforeTransactionProvider.begin(TransactionContext)
.void
TransactionProvider.commit
(TransactionContext ctx) Commit a transaction.default void
TransactionListener.commitEnd
(TransactionContext ctx) Called afterTransactionProvider.commit(TransactionContext)
.default void
TransactionListener.commitStart
(TransactionContext ctx) Called beforeTransactionProvider.commit(TransactionContext)
.void
TransactionProvider.rollback
(TransactionContext ctx) Rollback a transaction.default void
TransactionListener.rollbackEnd
(TransactionContext ctx) Called afterTransactionProvider.rollback(TransactionContext)
.default void
TransactionListener.rollbackStart
(TransactionContext ctx) Called beforeTransactionProvider.rollback(TransactionContext)
.Modifier and TypeMethodDescriptionstatic CallbackTransactionListener
TransactionListener.onBeginEnd
(Consumer<? super TransactionContext> onBeginEnd) Create aTransactionListener
with aTransactionListener.onBeginEnd(Consumer)
implementation.static CallbackTransactionListener
TransactionListener.onBeginStart
(Consumer<? super TransactionContext> onBeginStart) Create aTransactionListener
with aTransactionListener.onBeginStart(Consumer)
implementation.static CallbackTransactionListener
TransactionListener.onCommitEnd
(Consumer<? super TransactionContext> onCommitEnd) Create aTransactionListener
with aTransactionListener.onCommitEnd(Consumer)
implementation.static CallbackTransactionListener
TransactionListener.onCommitStart
(Consumer<? super TransactionContext> onCommitStart) Create aTransactionListener
with aTransactionListener.onCommitStart(Consumer)
implementation.static CallbackTransactionListener
TransactionListener.onRollbackEnd
(Consumer<? super TransactionContext> onRollbackEnd) Create aTransactionListener
with aTransactionListener.onRollbackEnd(Consumer)
implementation.static CallbackTransactionListener
TransactionListener.onRollbackStart
(Consumer<? super TransactionContext> onRollbackStart) Create aTransactionListener
with aTransactionListener.onRollbackStart(Consumer)
implementation. -
Uses of TransactionContext in org.jooq.impl
Modifier and TypeMethodDescriptionfinal void
DefaultTransactionProvider.begin
(TransactionContext ctx) final void
NoTransactionProvider.begin
(TransactionContext ctx) void
ThreadLocalTransactionProvider.begin
(TransactionContext ctx) final void
CallbackTransactionListener.beginEnd
(TransactionContext ctx) final void
CallbackTransactionListener.beginStart
(TransactionContext ctx) final void
DefaultTransactionProvider.commit
(TransactionContext ctx) final void
NoTransactionProvider.commit
(TransactionContext ctx) void
ThreadLocalTransactionProvider.commit
(TransactionContext ctx) final void
CallbackTransactionListener.commitEnd
(TransactionContext ctx) final void
CallbackTransactionListener.commitStart
(TransactionContext ctx) final void
DefaultTransactionProvider.rollback
(TransactionContext ctx) final void
NoTransactionProvider.rollback
(TransactionContext ctx) void
ThreadLocalTransactionProvider.rollback
(TransactionContext ctx) final void
CallbackTransactionListener.rollbackEnd
(TransactionContext ctx) final void
CallbackTransactionListener.rollbackStart
(TransactionContext ctx) Modifier and TypeMethodDescriptionCallbackTransactionListener.onBeginEnd
(Consumer<? super TransactionContext> newOnBeginEnd) CallbackTransactionListener.onBeginStart
(Consumer<? super TransactionContext> newOnBeginStart) CallbackTransactionListener.onCommitEnd
(Consumer<? super TransactionContext> newOnCommitEnd) CallbackTransactionListener.onCommitStart
(Consumer<? super TransactionContext> newOnCommitStart) CallbackTransactionListener.onRollbackEnd
(Consumer<? super TransactionContext> newOnRollbackEnd) CallbackTransactionListener.onRollbackStart
(Consumer<? super TransactionContext> newOnRollbackStart)