Module org.jooq
Package org.jooq.impl

Class DefaultTransactionProvider

java.lang.Object
org.jooq.impl.DefaultTransactionProvider
All Implemented Interfaces:
TransactionProvider

public class DefaultTransactionProvider extends Object implements TransactionProvider
A default implementation for the TransactionProvider SPI.

This implementation is entirely based on JDBC transactions and is intended to work with DefaultConnectionProvider (which is implicitly created when using DSL.using(Connection)).

Nesting of transactions

By default, nested transactions are supported by modeling them implicitly with JDBC Savepoints, if supported by the underlying JDBC driver, and if nested() is true. To deactivate nested transactions, use DefaultTransactionProvider(ConnectionProvider, boolean).
Author:
Lukas Eder