Package org.jooq.impl
Class NoTransactionProvider
- java.lang.Object
- 
- org.jooq.impl.NoTransactionProvider
 
- 
- All Implemented Interfaces:
- TransactionProvider
 
 public class NoTransactionProvider extends java.lang.Object implements TransactionProvider An "empty" implementation that is never transactional.- Author:
- Lukas Eder
 
- 
- 
Constructor SummaryConstructors Constructor Description NoTransactionProvider()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbegin(TransactionContext ctx)Begin a new transaction.voidcommit(TransactionContext ctx)Commit a transaction.voidrollback(TransactionContext ctx)Rollback a transaction.
 
- 
- 
- 
Method Detail- 
beginpublic final void begin(TransactionContext ctx) Description copied from interface:TransactionProviderBegin a new transaction.This method begins a new transaction with a Configurationscoped for this transaction. The resultingTransactionobject may be used by implementors to identify the transaction whenTransactionProvider.commit(TransactionContext)orTransactionProvider.rollback(TransactionContext)is called.- Specified by:
- beginin interface- TransactionProvider
- Parameters:
- ctx- the configuration scoped to this transaction and its nested transactions.
 
 - 
commitpublic final void commit(TransactionContext ctx) Description copied from interface:TransactionProviderCommit a transaction.- Specified by:
- commitin interface- TransactionProvider
- Parameters:
- ctx- the configuration scoped to this transaction and its nested transactions.
 
 - 
rollbackpublic final void rollback(TransactionContext ctx) Description copied from interface:TransactionProviderRollback a transaction.- Specified by:
- rollbackin interface- TransactionProvider
- Parameters:
- ctx- the configuration scoped to this transaction and its nested transactions.
 
 
- 
 
-