public interface OracleDataSource extends javax.sql.DataSource, OracleCommonDataSource
DataSource
.Modifier and Type | Method and Description |
---|---|
OracleConnectionBuilder |
createConnectionBuilder()
Create a new
OracleConnectionBuilder instance |
static void |
setExecutorService(java.util.concurrent.ExecutorService threadPool)
Sets the thread pool for general use inside the Oracle JDBC driver.
|
createShardingKeyBuilder, getConnectionProperties, getConnectionProperty, getDatabaseName, getDataSourceName, getDescription, getExplicitCachingEnabled, getImplicitCachingEnabled, getMaxStatements, getNetworkProtocol, getPortNumber, getRoleName, getServerName, getURL, getUser, setConnectionProperties, setConnectionProperty, setDatabaseName, setDataSourceName, setDescription, setExplicitCachingEnabled, setHostnameResolver, setImplicitCachingEnabled, setMaxStatements, setNetworkProtocol, setPassword, setPortNumber, setRoleName, setServerName, setSingleShardTransactionSupport, setSSLContext, setTokenSupplier, setURL, setUser
OracleConnectionBuilder createConnectionBuilder() throws java.sql.SQLException
OracleConnectionBuilder
instanceOracleConnectionBuilder
instance that was createdjava.sql.SQLException
- if an error occurs while creating the builderstatic void setExecutorService(java.util.concurrent.ExecutorService threadPool) throws java.sql.SQLException
ThreadPoolExecutor
.
Do not use ForkJoinPool
.java.sql.SQLException
- if an error occurs while setting the thread pool.