Skip navigation links
oracle.jdbc.replay
Interface OracleConnectionPoolDataSource
- All Superinterfaces:
- CommonDataSource, ConnectionPoolDataSource, DataSource, OracleDataSource, Wrapper
- All Known Implementing Classes:
- OracleConnectionPoolDataSourceImpl
-
public interface OracleConnectionPoolDataSource
- extends OracleDataSource, ConnectionPoolDataSource
A data source that supports transparent failover replay of JDBC operations.
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 |
Methods inherited from interface oracle.jdbc.replay.OracleDataSource |
clearReplayStatistics, getConnectionInitializationCallback, getConnectionProperties, getConnectionProperty, getDatabaseName, getDataSourceName, getDescription, getExplicitCachingEnabled, getImplicitCachingEnabled, getMaxStatements, getNetworkProtocol, getPortNumber, getReplayStatistics, getRoleName, getServerName, getURL, getUser, registerConnectionInitializationCallback, setConnectionProperties, setConnectionProperty, setDatabaseName, setDataSourceName, setDescription, setExplicitCachingEnabled, setImplicitCachingEnabled, setMaxStatements, setNetworkProtocol, setPassword, setPortNumber, setRoleName, setServerName, setURL, setUser, unregisterConnectionInitializationCallback |
getPooledConnection
PooledConnection getPooledConnection()
throws SQLException
- Attempts to establish a database connection.
-
- Specified by:
getPooledConnection
in interface ConnectionPoolDataSource
-
- Returns:
- A PooledConnection to the database
- Throws:
SQLException
- if a database-access error occurs.
getPooledConnection
PooledConnection getPooledConnection(String user,
String passwd)
throws SQLException
- Attempts to establish a database connection.
-
- Specified by:
getPooledConnection
in interface ConnectionPoolDataSource
-
- 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.
Skip navigation links
Copyright © 2008, 2014, Oracle and/or its affiliates. All rights reserved.