Code example for PooledConnection

Methods: removeConnectionEventListener

0
        { 
            System.err
                .println("CLOSING DOWN CONNECTION DUE TO INTERNAL ERROR");
            //remove this from the listener list because we are no more  
            //interested in errors since we are about to close this connection 
            pc.removeConnectionEventListener(this);
        } 
        catch (Exception ignore) 
        { 
            // ignore 
        } 
 
        destroyObject(pc);
    } 
 
 
    protected ConnectionPoolDataSource _cpds = null;
    protected String _validationQuery = null;
    protected ObjectPool _pool = null;
    protected String _username = null;
Contextual code suggestions in your IDE  Get Codota for Java