result.setAutoCommit(true); result.setReadOnly(false); result.setTransactionIsolation(transactionIsolation);
configureConnectionDefaults(result);
        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();        result.setAutoCommit(true);        result.setReadOnly(false);        result.setTransactionIsolation(transactionIsolation);        return result;    }