java.lang.Object
org.jooq.impl.NoTransactionProvider
- All Implemented Interfaces:
TransactionProvider
An "empty" implementation that is never transactional.
- Author:
- Lukas Eder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
begin
(TransactionContext ctx) Begin a new transaction.final void
commit
(TransactionContext ctx) Commit a transaction.final void
Rollback a transaction.
-
Constructor Details
-
NoTransactionProvider
public NoTransactionProvider()
-
-
Method Details
-
begin
Description copied from interface:TransactionProvider
Begin a new transaction.This method begins a new transaction with a
Configuration
scoped for this transaction. The resultingTransaction
object may be used by implementors to identify the transaction whenTransactionProvider.commit(TransactionContext)
orTransactionProvider.rollback(TransactionContext)
is called.- Specified by:
begin
in interfaceTransactionProvider
- Parameters:
ctx
- the configuration scoped to this transaction and its nested transactions.
-
commit
Description copied from interface:TransactionProvider
Commit a transaction.- Specified by:
commit
in interfaceTransactionProvider
- Parameters:
ctx
- the configuration scoped to this transaction and its nested transactions.
-
rollback
Description copied from interface:TransactionProvider
Rollback a transaction.- Specified by:
rollback
in interfaceTransactionProvider
- Parameters:
ctx
- the configuration scoped to this transaction and its nested transactions.
-