|
Oracle JDBC API Reference 11g Release 2 ("11.2.0.3.0") |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.jdbc.pool.OracleDataSource
oracle.jdbc.pool.OracleConnectionPoolDataSource
public class OracleConnectionPoolDataSource
A DataSource object is a factory for Connection objects. An object that implements the DataSource interface will typically be registered with a JNDI service provider. A JDBC driver that is accessed via the DataSource API does not automatically register itself with the DriverManager.
| Field Summary | |
|---|---|
static java.lang.String |
BUILD_DATE
|
static boolean |
TRACE
|
| Fields inherited from class oracle.jdbc.pool.OracleDataSource |
|---|
isOracleDataSource |
| Constructor Summary | |
|---|---|
OracleConnectionPoolDataSource()
|
|
| Method Summary | |
|---|---|
javax.sql.PooledConnection |
getPooledConnection()
Attempt to establish a database connection. |
javax.sql.PooledConnection |
getPooledConnection(java.lang.String _user,
java.lang.String _passwd)
Attempt to establish a database connection. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.sql.ConnectionPoolDataSource |
|---|
getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter |
| Field Detail |
|---|
public static final java.lang.String BUILD_DATE
public static final boolean TRACE
| Constructor Detail |
|---|
public OracleConnectionPoolDataSource()
throws java.sql.SQLException
java.sql.SQLException| Method Detail |
|---|
public javax.sql.PooledConnection getPooledConnection()
throws java.sql.SQLException
Attempt to establish a database connection.
getPooledConnection in interface javax.sql.ConnectionPoolDataSourcejava.sql.SQLException - if a database-access error occurs.
public javax.sql.PooledConnection getPooledConnection(java.lang.String _user,
java.lang.String _passwd)
throws java.sql.SQLException
Attempt to establish a database connection.
getPooledConnection in interface javax.sql.ConnectionPoolDataSourceuser - the database user on whose behalf the Connection is
being madepassword - the user's password
java.sql.SQLException - if a database-access error occurs.
|
Oracle JDBC API Reference 11g Release 2 ("11.2.0.3.0") |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||