All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class oracle.jdbc.pool.OracleConnectionPoolDataSource

java.lang.Object
   |
   +----oracle.jdbc.pool.OracleDataSource
           |
           +----oracle.jdbc.pool.OracleConnectionPoolDataSource

public class OracleConnectionPoolDataSource
extends OracleDataSource

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 Index

 o OracleConnectionPoolDataSource()

Method Index

 o getPooledConnection()

Attempt to establish a database connection.

 o getPooledConnection(String, String)

Attempt to establish a database connection.

Constructors

 o OracleConnectionPoolDataSource
 public OracleConnectionPoolDataSource() throws SQLException

Methods

 o getPooledConnection
 public synchronized PooledConnection getPooledConnection() throws SQLException

Attempt to establish a database connection.

Returns:
a PooledConnection to the database
Throws: SQLException
if a database-access error occurs.
 o getPooledConnection
 public synchronized PooledConnection getPooledConnection(String user,
                                                          String passwd) throws SQLException

Attempt to establish a database connection.

Parameters:
user - the database user on whose behalf the Connection is being made
password - the user's password
Returns:
a PooledConnection to the database
Throws: SQLException
if a database-access error occurs.

All Packages  Class Hierarchy  This Package  Previous  Next  Index