Package | Description |
---|---|
org.jooq |
The
org.jooq package contains jOOQ's public API. |
org.jooq.impl |
The
org.jooq.impl package contains jOOQ's implementation classes. |
org.jooq.tools.jdbc |
The
org.jooq.tools.jdbc package contains compatibility classes
to bridge between JDBC 4.0 and JDBC 4.1. |
Modifier and Type | Method and Description |
---|---|
ConnectionProvider |
Configuration.connectionProvider()
Get this configuration's underlying connection provider.
|
Modifier and Type | Method and Description |
---|---|
void |
ExecuteContext.connectionProvider(ConnectionProvider connectionProvider)
Override the
Connection that is being used for execution. |
Configuration |
Configuration.derive(ConnectionProvider newConnectionProvider)
Create a derived configuration from this one, with a new connection
provider.
|
Configuration |
Configuration.set(ConnectionProvider newConnectionProvider)
Change this configuration to hold a new connection provider.
|
Modifier and Type | Class and Description |
---|---|
class |
DataSourceConnectionProvider
A default implementation for a pooled
DataSource -oriented
ConnectionProvider
This implementation wraps a JDBC DataSource . jOOQ will use that data
source for initialising connections, and creating statements. |
class |
DefaultConnectionProvider
A default implementation for
ConnectionProvider . |
class |
NoConnectionProvider
An "empty" implementation that is never connected.
|
Modifier and Type | Method and Description |
---|---|
ConnectionProvider |
DefaultConfiguration.connectionProvider()
Get this configuration's underlying connection provider.
|
Modifier and Type | Method and Description |
---|---|
Configuration |
DefaultConfiguration.derive(ConnectionProvider newConnectionProvider)
Create a derived configuration from this one, with a new connection
provider.
|
Configuration |
DefaultConfiguration.set(ConnectionProvider newConnectionProvider)
Change this configuration to hold a new connection provider.
|
void |
DefaultConfiguration.setConnectionProvider(ConnectionProvider newConnectionProvider) |
static DSLContext |
DSL.using(ConnectionProvider connectionProvider,
SQLDialect dialect)
Create an executor with a custom connection provider and a dialect
configured.
|
static DSLContext |
DSL.using(ConnectionProvider connectionProvider,
SQLDialect dialect,
Settings settings)
Create an executor with a custom connection provider, a dialect and settings
configured.
|
Constructor and Description |
---|
DefaultDSLContext(ConnectionProvider connectionProvider,
SQLDialect dialect) |
DefaultDSLContext(ConnectionProvider connectionProvider,
SQLDialect dialect,
Settings settings) |
DefaultTransactionProvider(ConnectionProvider provider) |
DefaultTransactionProvider(ConnectionProvider provider,
boolean nested) |
Modifier and Type | Class and Description |
---|---|
class |
MockConnectionProvider
A mock connection provider.
|
Modifier and Type | Method and Description |
---|---|
ConnectionProvider |
MockConfiguration.connectionProvider() |
Modifier and Type | Method and Description |
---|---|
Configuration |
MockConfiguration.derive(ConnectionProvider newConnectionProvider) |
Configuration |
MockConfiguration.set(ConnectionProvider newConnectionProvider) |
Constructor and Description |
---|
MockConnectionProvider(ConnectionProvider delegate,
MockDataProvider provider) |
Copyright © 2017. All Rights Reserved.