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 |
---|---|
SQLDialect |
Configuration.dialect()
Retrieve the configured dialect.
|
SQLDialect |
SQLDialect.family()
The dialect family.
|
SQLDialect |
DataType.getDialect()
Retrieve the underlying
SQLDialect . |
static SQLDialect |
SQLDialect.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SQLDialect[] |
SQLDialect.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
RenderContext |
RenderContext.castModeSome(SQLDialect... dialects)
Set the new cast mode to
RenderContext.CastMode.SOME for a list of dialects. |
Configuration |
Configuration.derive(SQLDialect newDialect)
Create a derived configuration from this one, with a new dialect.
|
Configuration |
Configuration.set(SQLDialect newDialect)
Change this configuration to hold a new dialect.
|
Modifier and Type | Method and Description |
---|---|
SQLDialect |
DefaultConfiguration.dialect()
Retrieve the configured dialect.
|
SQLDialect |
DefaultDataType.getDialect() |
Modifier and Type | Method and Description |
---|---|
Configuration |
DefaultConfiguration.derive(SQLDialect newDialect)
Create a derived configuration from this one, with a new dialect.
|
static <T> DataType<T> |
DefaultDataType.getDataType(SQLDialect dialect,
Class<T> type) |
static <T> DataType<T> |
DefaultDataType.getDataType(SQLDialect dialect,
Class<T> type,
DataType<T> fallbackDataType) |
static DataType<?> |
DefaultDataType.getDataType(SQLDialect dialect,
String typeName) |
static DataType<?> |
DefaultDataType.getDataType(SQLDialect dialect,
String t,
int p,
int s)
Convert a type name (using precision and scale) into a Java class
|
static DataType<Object> |
DefaultDataType.getDefaultDataType(SQLDialect dialect,
String typeName) |
static Class<?> |
DefaultDataType.getType(SQLDialect dialect,
String t,
int p,
int s)
Convert a type name (using precision and scale) into a Java class
|
Configuration |
DefaultConfiguration.set(SQLDialect newDialect)
Change this configuration to hold a new dialect.
|
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.
|
static DSLContext |
DSL.using(Connection connection,
SQLDialect dialect)
Create an executor with a connection and a dialect configured.
|
static DSLContext |
DSL.using(Connection connection,
SQLDialect dialect,
Settings settings)
Create an executor with a connection, a dialect and settings configured.
|
static DSLContext |
DSL.using(DataSource datasource,
SQLDialect dialect)
Create an executor with a data source and a dialect configured.
|
static DSLContext |
DSL.using(DataSource datasource,
SQLDialect dialect,
Settings settings)
Create an executor with a data source, a dialect and settings configured.
|
static DSLContext |
DSL.using(SQLDialect dialect)
Create an executor with a dialect configured.
|
static DSLContext |
DSL.using(SQLDialect dialect,
Settings settings)
Create an executor with a dialect and settings configured.
|
Constructor and Description |
---|
DefaultDataType(SQLDialect dialect,
Class<T> type,
String typeName) |
DefaultDataType(SQLDialect dialect,
Class<T> type,
String typeName,
String castTypeName) |
DefaultDataType(SQLDialect dialect,
DataType<T> sqlDataType,
String typeName) |
DefaultDataType(SQLDialect dialect,
DataType<T> sqlDataType,
String typeName,
String castTypeName) |
DefaultDSLContext(ConnectionProvider connectionProvider,
SQLDialect dialect) |
DefaultDSLContext(ConnectionProvider connectionProvider,
SQLDialect dialect,
Settings settings) |
DefaultDSLContext(Connection connection,
SQLDialect dialect) |
DefaultDSLContext(Connection connection,
SQLDialect dialect,
Settings settings) |
DefaultDSLContext(DataSource datasource,
SQLDialect dialect) |
DefaultDSLContext(DataSource datasource,
SQLDialect dialect,
Settings settings) |
DefaultDSLContext(SQLDialect dialect) |
DefaultDSLContext(SQLDialect dialect,
Settings settings) |
Modifier and Type | Method and Description |
---|---|
static SQLDialect |
JDBCUtils.dialect(Connection connection)
"Guess" the
SQLDialect from a Connection instance. |
static SQLDialect |
JDBCUtils.dialect(String url)
"Guess" the
SQLDialect from a connection URL. |
Copyright © 2014. All Rights Reserved.