|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
oracle.jdbc.pool.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.
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. |
Constructor Detail |
public OracleConnectionPoolDataSource() throws java.sql.SQLException
Method Detail |
public javax.sql.PooledConnection getPooledConnection() throws java.sql.SQLException
Attempt to establish a database connection.
public javax.sql.PooledConnection getPooledConnection(java.lang.String user, java.lang.String passwd) throws java.sql.SQLException
Attempt to establish a database connection.
user
- the database user on whose behalf the Connection is
being madepassword
- the user's password
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |