Save This Page
Home » openjdk-7 » javax » sql » [javadoc | source]
javax.sql
public interface: ConnectionPoolDataSource [javadoc | source]

All Implemented Interfaces:
    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 JavaTM Naming and Directory Interface (JNDI).
Method from javax.sql.ConnectionPoolDataSource Summary:
getPooledConnection,   getPooledConnection
Method from javax.sql.ConnectionPoolDataSource Detail:
 public PooledConnection getPooledConnection() throws SQLException
    Attempts to establish a physical database connection that can be used as a pooled connection.
 public PooledConnection getPooledConnection(String user,
    String password) throws SQLException
    Attempts to establish a physical database connection that can be used as a pooled connection.