getConnection()
Syntax:
Connection getConnection() throws SQLException
Description:
Creates and returns a Connection object that is a handle for the physical connection that this PooledConnection
object represents. The connection pool manager calls this method when an application has called the method DataSource.getConnection
and there are no PooledConnection
objects available.
Returns:
a Connection object that is a handle to this PooledConnection
object
Throws:
SQLException - if a database access error occurs
Reference:
For more information, reference JDBC documentation for: PooledConnection.getConnection()