Package oracle.jdbc.replay
Interface OracleConnectionPoolDataSource
- All Superinterfaces:
CommonDataSource,ConnectionPoolDataSource,DataSource,OracleCommonDataSource,OracleConnectionPoolDataSource,OracleDataSource,OracleDataSource,Wrapper
- All Known Subinterfaces:
OracleXADataSource
- All Known Implementing Classes:
OracleConnectionPoolDataSource,OracleConnectionPoolDataSource,OracleConnectionPoolDataSourceImpl,OracleXADataSource,OracleXADataSource,OracleXADataSourceImpl
public interface OracleConnectionPoolDataSource
extends OracleDataSource, OracleConnectionPoolDataSource
A data source that supports transparent failover replay of
JDBC operations.
-
Field Summary
Fields inherited from interface oracle.jdbc.replay.OracleDataSource
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 -
Method Summary
Modifier and TypeMethodDescriptionAttempts to establish a database connection.getPooledConnection(String user, String passwd) Attempts to establish a database connection.Methods inherited from interface javax.sql.CommonDataSource
getParentLoggerMethods inherited from interface javax.sql.ConnectionPoolDataSource
getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriterMethods inherited from interface javax.sql.DataSource
getConnection, getConnection, getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriterMethods inherited from interface oracle.jdbc.datasource.OracleCommonDataSource
createShardingKeyBuilder, getConnectionProperties, getConnectionProperty, getDatabaseName, getDataSourceName, getDescription, getNetworkProtocol, getPortNumber, getServerName, getURL, getUser, setConnectionProperties, setConnectionProperty, setDatabaseName, setDataSourceName, setDescription, setHostnameResolver, setNetworkProtocol, setPassword, setPortNumber, setServerName, setSingleShardTransactionSupport, setSSLContext, setTokenSupplier, setURL, setUserMethods inherited from interface oracle.jdbc.datasource.OracleConnectionPoolDataSource
createPooledConnectionBuilderMethods inherited from interface oracle.jdbc.datasource.OracleDataSource
createConnectionBuilderMethods inherited from interface oracle.jdbc.replay.OracleDataSource
clearReplayStatistics, getConnectionInitializationCallback, getExplicitCachingEnabled, getImplicitCachingEnabled, getMaxStatements, getReplayStatistics, getRoleName, registerConnectionInitializationCallback, setExplicitCachingEnabled, setImplicitCachingEnabled, setMaxStatements, setRoleName, unregisterConnectionInitializationCallbackMethods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
-
Method Details
-
getPooledConnection
Attempts to establish a database connection.- Specified by:
getPooledConnectionin interfaceConnectionPoolDataSource- Returns:
- A PooledConnection to the database
- Throws:
SQLException- if a database-access error occurs.
-
getPooledConnection
Attempts to establish a database connection.- Specified by:
getPooledConnectionin interfaceConnectionPoolDataSource- Parameters:
user- The database user on whose behalf the Connection is being made.passwd- The user's password- Returns:
- a PooledConnection to the database
- Throws:
SQLException- if a database-access error occurs.
-