ConnectionPoolDataSource
Interface ConnectionPoolDataSource
- All Superinterfaces:
- CommonDataSource
public interface ConnectionPoolDataSource extends CommonDataSource
A factory for PooledConnection
objects. An object that implements this interface will typically be registered with a naming service that is based on the Java™ Naming and Directory Interface (JNDI).
- Since:
- 1.4
Methods
getPooledConnection
PooledConnection getPooledConnection() throws SQLException
Attempts to establish a physical database connection that can be used as a pooled connection.
- Returns:
- a
PooledConnection
object that is a physical connection to the database that this