getPooledConnection()

Syntax:

PooledConnection getPooledConnection()
                                     throws SQLException

Description:

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 ConnectionPoolDataSource object represents

Throws:

SQLException - if a database access error occurs

Reference:

For more information, reference JDBC documentation for: ConnectionPoolDataSource.getPooledConnection()