public synchronized boolean hasNext()
    {
        if (position < length)
        {
            if (position < scrolled)
            {
             	return true;
            }
            else
            {
                boolean result = ojbIterator.hasNext();
             	return result;
            }
        }
        else
        {
			releaseJdbcResources();
            return false;
        }

    }
public synchronized boolean hasNext ( ) { if ( position < length ) { if ( position < scrolled ) { return true ; } else { boolean result = ojbIterator . hasNext ( ) ; return result ; } } else { releaseJdbcResources ( ) ; return false ; } }
/*
@see ObjectSet#hasNext()