Top Description Constructors Methods
org.jooq.impl

public Class NoTransactionProvider

extends Object
implements TransactionProvider
Class Inheritance
All Implemented Interfaces
org.jooq.TransactionProvider
Imports
org.jooq.TransactionContext, .TransactionProvider

An "empty" implementation that is never transactional.
Author
Lukas Eder

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public final void
begin(TransactionContext
the configuration scoped to this transaction and its nested transactions.
ctx
)

Implements org.jooq.TransactionProvider.begin.

Begin a new transaction.
public final void
commit(TransactionContext
the configuration scoped to this transaction and its nested transactions.
ctx
)

Implements org.jooq.TransactionProvider.commit.

Commit a transaction.
public final void
rollback(TransactionContext
the configuration scoped to this transaction and its nested transactions.
ctx
)

Implements org.jooq.TransactionProvider.rollback.

Rollback a transaction.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

NoTransactionProviderback to summary
public NoTransactionProvider()

Method Detail

beginback to summary
public final void begin(TransactionContext ctx)

Implements org.jooq.TransactionProvider.begin.

Doc from org.jooq.TransactionProvider.begin.

Begin a new transaction.

This method begins a new transaction with a Configuration scoped for this transaction. The resulting Transaction object may be used by implementors to identify the transaction when commit(TransactionContext) or rollback(TransactionContext) is called.

Parameters
ctx:TransactionContext

the configuration scoped to this transaction and its nested transactions.

Annotations
@Override
commitback to summary
public final void commit(TransactionContext ctx)

Implements org.jooq.TransactionProvider.commit.

Doc from org.jooq.TransactionProvider.commit.

Commit a transaction.

Parameters
ctx:TransactionContext

the configuration scoped to this transaction and its nested transactions.

Annotations
@Override
rollbackback to summary
public final void rollback(TransactionContext ctx)

Implements org.jooq.TransactionProvider.rollback.

Doc from org.jooq.TransactionProvider.rollback.

Rollback a transaction.

Parameters
ctx:TransactionContext

the configuration scoped to this transaction and its nested transactions.

Annotations
@Override