Module org.jooq
Package org.jooq.impl

Class DefaultConnectionProvider

  • All Implemented Interfaces:
    ConnectionProvider

    public class DefaultConnectionProvider
    extends Object
    implements ConnectionProvider
    A default implementation for ConnectionProvider.

    This implementation just wraps a JDBC Connection and provides jOOQ with the same connection for every query. jOOQ will not call any transaction-related methods on the supplied connection. Instead, jOOQ provides you with convenient access to those methods, wrapping any checked SQLException into an unchecked DataAccessException

    Author:
    Aaron Digulla, Lukas Eder