Code example for PooledConnection

Methods: close

0
    } 
 
    private void closePhysically(PooledConnection source, String logText) {
 
        try { 
            source.close();
        } catch (SQLException e) {
            logInfo("Error " + logText, e);
        } 
    } 
 
    /** 
     * @see JDBCConnectionPoolDataSource#logInfo(String) 
     */ 
    private void logInfo(String message) {
 
        /* For external unit tests, temporarily change visibility to public.*/ 
        connectionPoolDataSource.logInfo(message);
    }