checkInPool();
        Connection getConnection() throws SQLException {        checkValidity();        if (currentConnection != null) {            throw new IllegalStateException(                "Cannot provide new connection while old one is still in use.");            //currentConnection.close();        }        currentConnection = new PooledConnectionHandler(jdbcConnection, this);        Connection result = currentConnection.getProxy();                configureConnectionDefaults(result);        return result;    }