public class JooqDataSourceHandler extends Object
| Modifier and Type | Field and Description |
|---|---|
static Boolean |
autoCommit |
static Map<String,Object> |
dataSourceProperties |
static org.jooq.SQLDialect |
dialect |
static int |
idleTimeout |
static String |
JOOQ_AUTOCOMMIT
Defines the key (value:"JOOQ.autoCommit") to retrieve a boolean value to set the JDBC connection
with autocommit or not.
|
static String |
JOOQ_DATASOURCEPROPERTY
Defines the prefix key (value:"JOOQ.DataSourceProperty.") to retrieve String entries to add in DataSourceProperty
|
static String |
JOOQ_DIALECT
Defines the key (value:"JOOQ.dialect") to retrieve the database dialect.
|
static String |
JOOQ_IDLETIMEOUT
Defines the key (value:"JOOQ.idleTimeout") to retrieve a long value to set the idleTimeout
|
static String |
JOOQ_MAXIMUMPOOLSIZE
Defines the key (value:"JOOQ.maximumPoolSize") to retrieve an integer value to set the maximumPoolSize
|
static String |
JOOQ_MAXLIFETIME
Defines the key (value:"JOOQ.maxLifetime") to retrieve a long value to set the maxLifetime
|
static String |
JOOQ_MINIMUMIDLE
Defines the key (value:"JOOQ.minimumIdle") to retrieve an integer value to set the minimumIdle
|
static String |
JOOQ_PASSWORD
Defines the key (value:"JOOQ.password") to retrieve a string value to set the password
|
static String |
JOOQ_READONLYDATASOURCE
Defines the key (value:"JOOQ.readOnlyDataSource") to retrieve a boolean value to tell the data source to
create read only connections.
|
static String |
JOOQ_URI
Defines the key (value:"JOOQ.URI") to retrieve a string value to set JDBC URI
|
static String |
JOOQ_USER
Defines the key (value:"JOOQ.user") to retrieve a string value to set the user
|
static int |
maximumPoolSize |
static int |
maxLifetime |
static int |
minimumIdle |
static String |
pwd |
static Boolean |
readOnlyDataSource |
static String |
uri |
static String |
user |
| Constructor and Description |
|---|
JooqDataSourceHandler() |
| Modifier and Type | Method and Description |
|---|---|
static void |
closeDataSource() |
static org.jooq.DSLContext |
connect() |
static org.jooq.DSLContext |
connect(Connection conn) |
static Connection |
createConnection(TransactionKey transactionKey) |
static com.zaxxer.hikari.HikariDataSource |
getDataSource() |
static void |
logConnectionCount(String text,
org.jooq.DSLContext context) |
static void |
readSystemProperties() |
static Connection |
removeConnection(TransactionKey transactionKey) |
static org.jooq.DSLContext |
retrieveContext(TransactionKey transactionKey) |
public static final String JOOQ_URI
public static final String JOOQ_USER
public static final String JOOQ_PASSWORD
public static final String JOOQ_DIALECT
public static final String JOOQ_AUTOCOMMIT
public static final String JOOQ_READONLYDATASOURCE
public static final String JOOQ_MAXIMUMPOOLSIZE
public static final String JOOQ_MAXLIFETIME
public static final String JOOQ_MINIMUMIDLE
public static final String JOOQ_IDLETIMEOUT
public static final String JOOQ_DATASOURCEPROPERTY
public static String uri
public static String user
public static String pwd
public static Boolean autoCommit
public static Boolean readOnlyDataSource
public static org.jooq.SQLDialect dialect
public static int maximumPoolSize
public static int maxLifetime
public static int minimumIdle
public static int idleTimeout
public static void readSystemProperties()
public static com.zaxxer.hikari.HikariDataSource getDataSource()
public static void closeDataSource()
throws org.cristalise.kernel.common.PersistencyException
org.cristalise.kernel.common.PersistencyExceptionpublic static org.jooq.DSLContext connect()
throws org.cristalise.kernel.common.PersistencyException
org.cristalise.kernel.common.PersistencyExceptionpublic static org.jooq.DSLContext connect(Connection conn) throws org.cristalise.kernel.common.PersistencyException
org.cristalise.kernel.common.PersistencyExceptionpublic static Connection createConnection(TransactionKey transactionKey) throws org.cristalise.kernel.common.PersistencyException
org.cristalise.kernel.common.PersistencyExceptionpublic static Connection removeConnection(TransactionKey transactionKey) throws org.cristalise.kernel.common.PersistencyException
org.cristalise.kernel.common.PersistencyExceptionpublic static org.jooq.DSLContext retrieveContext(TransactionKey transactionKey) throws org.cristalise.kernel.common.PersistencyException
org.cristalise.kernel.common.PersistencyExceptionpublic static void logConnectionCount(String text, org.jooq.DSLContext context)
Copyright © 1997–2022 CRISTAL-iSE. All rights reserved.