Class OracleConnectionPoolDataSource

All Implemented Interfaces:
Serializable, Wrapper, Referenceable, CommonDataSource, ConnectionPoolDataSource, DataSource, OracleCommonDataSource, OracleConnectionPoolDataSource, OracleDataSource, oracle.jdbc.diagnostics.Diagnosable, oracle.jdbc.diagnostics.PropertyChangeListener, oracle.jdbc.internal.Monitor, oracle.jdbc.replay.internal.OracleConnectionPoolDataSource, oracle.jdbc.replay.internal.OracleDataSource, OracleConnectionPoolDataSource, OracleDataSource
Direct Known Subclasses:
OracleXADataSource

public class OracleConnectionPoolDataSource extends 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.

For most common scenarios, use oracle.jdbc.datasource.impl.OracleDataSource, instead of this class.

This class is reserved for connection pool developers who build their pools using javax.sql.PooledConnection. For those developers, we strongly recommend that they use oracle.jdbc.datasource.impl.OracleConnectionPoolDataSource, instead of this class, which has become a thin wrapper of the former class and will be gradually phased out.

For data source creation using Oracle JDBC driver 19c and earlier versions, you can still use this class.

See Also:
  • Constructor Details