CommonDataSource
, ConnectionPoolDataSource
, DataSource
, OracleCommonDataSource
, OracleConnectionPoolDataSource
, OracleDataSource
, OracleDataSource
, Wrapper
OracleXADataSource
OracleConnectionPoolDataSourceImpl
, OracleXADataSourceImpl
public interface OracleConnectionPoolDataSource extends OracleDataSource, OracleConnectionPoolDataSource
CONNECTION_PROPERTIES, DATA_SOURCE_NAME, DATABASE_NAME, DESCRIPTION, EXPLICIT_CACHING_ENABLED, IMPLICIT_CACHING_ENABLED, MAX_STATEMENTS, NETWORK_PROTOCOL, PASSWORD, PORT_NUMBER, ROLE_NAME, SERVER_NAME, URL, USER
Modifier and Type | Method | Description |
---|---|---|
PooledConnection |
getPooledConnection() |
Attempts to establish a database connection.
|
PooledConnection |
getPooledConnection(String user, String passwd) |
Attempts to establish a database connection.
|
getParentLogger
getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter
getConnection, getConnection, getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter
createShardingKeyBuilder, getConnectionProperties, getDatabaseName, getDataSourceName, getDescription, getNetworkProtocol, getPortNumber, getServerName, getURL, getUser, setConnectionProperties, setDatabaseName, setDataSourceName, setDescription, setNetworkProtocol, setPassword, setPortNumber, setServerName, setSSLContext, setURL, setUser
createPooledConnectionBuilder
createConnectionBuilder
clearReplayStatistics, getConnectionInitializationCallback, getConnectionProperty, getExplicitCachingEnabled, getImplicitCachingEnabled, getMaxStatements, getReplayStatistics, getRoleName, registerConnectionInitializationCallback, setConnectionProperty, setExplicitCachingEnabled, setImplicitCachingEnabled, setMaxStatements, setRoleName, unregisterConnectionInitializationCallback
isWrapperFor, unwrap
PooledConnection getPooledConnection() throws SQLException
getPooledConnection
in interface ConnectionPoolDataSource
SQLException
- if a database-access error occurs.PooledConnection getPooledConnection(String user, String passwd) throws SQLException
getPooledConnection
in interface ConnectionPoolDataSource
user
- The database user on whose behalf the Connection is being made.passwd
- The user's passwordSQLException
- if a database-access error occurs.