|
Oracle JDBC API Reference 12c Release 1 ("12.1.0.2.0") E17663-03 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.jdbc.replay.OracleDataSourceImpl
oracle.jdbc.replay.OracleConnectionPoolDataSourceImpl
public class OracleConnectionPoolDataSourceImpl
| Field Summary |
|---|
| Fields inherited from class oracle.jdbc.replay.OracleDataSourceImpl |
|---|
password, user |
| 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 |
| Constructor Summary | |
|---|---|
OracleConnectionPoolDataSourceImpl()
|
|
| Method Summary | |
|---|---|
Connection |
getConnection()
|
Connection |
getConnection(Properties props)
|
Connection |
getConnection(String usr,
String pwd)
Attempts to obtain a database connection with the specified user and password. |
Connection |
getConnection(String usr,
String pwd,
Properties props)
|
protected Connection |
getPhysicalConnection()
Gets a physical connection with default url, user name, and password. |
protected Connection |
getPhysicalConnection(String _user,
String _passwd)
Gets a physical connection with the default URL and given user name and password. |
protected Connection |
getPhysicalConnection(String _url,
String _user,
String _passwd)
Gets a physical connection with the given url, user name, and password. |
PooledConnection |
getPooledConnection()
Attempts to establish a database connection. |
PooledConnection |
getPooledConnection(String _user,
String _passwd)
Attempts to establish a database connection. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface oracle.jdbc.replay.internal.OracleDataSource |
|---|
getConnectionNoProxy, getProxyFactory, updateReplayStatistics |
| Methods inherited from interface java.sql.Wrapper |
|---|
isWrapperFor, unwrap |
| Methods inherited from interface javax.naming.Referenceable |
|---|
getReference |
| Methods inherited from interface javax.naming.spi.ObjectFactory |
|---|
getObjectInstance |
| Constructor Detail |
|---|
public OracleConnectionPoolDataSourceImpl()
| Method Detail |
|---|
public PooledConnection getPooledConnection()
throws SQLException
getPooledConnection in interface ConnectionPoolDataSourcegetPooledConnection in interface OracleConnectionPoolDataSourceSQLException - if a database-access error occurs.
public PooledConnection getPooledConnection(String _user,
String _passwd)
throws SQLException
getPooledConnection in interface ConnectionPoolDataSourcegetPooledConnection in interface OracleConnectionPoolDataSourceuser - The database user on whose behalf the Connection is
being made.password - The user's password
SQLException - if a database-access error occurs.
public Connection getConnection()
throws SQLException
getConnection in interface DataSourcegetConnection in class OracleDataSourceImplSQLException
public Connection getConnection(String usr,
String pwd)
throws SQLException
OracleDataSourceImpl
getConnection in interface DataSourcegetConnection in class OracleDataSourceImplusr - The database user on whose behalf the connection is
being made.pwd - The user's password.
SQLException - if a database-access error occurs.
public Connection getConnection(Properties props)
throws SQLException
SQLException
public Connection getConnection(String usr,
String pwd,
Properties props)
throws SQLException
SQLException
protected Connection getPhysicalConnection()
throws SQLException
SQLException - if a database-access error occurs.
protected Connection getPhysicalConnection(String _url,
String _user,
String _passwd)
throws SQLException
_url - The connect url._user - The database user on whose behalf the connection is
being made._passwd - The user's password
SQLException - if a database-access error occurs.
protected Connection getPhysicalConnection(String _user,
String _passwd)
throws SQLException
_user - The database user on whose behalf the connection is
being made._passwd - The user's password
SQLException - if a database-access error occurs.
|
Oracle JDBC API Reference 12c Release 1 ("12.1.0.2.0") E17663-03 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||