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. |
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.
|
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) |
Copyright © 2014. All Rights Reserved.