_needsAdvancing = true;
    public Object next() throws DynaSqlException    {        if (_isAtEnd)        {            throw new NoSuchElementException("No more elements in the resultset");        }        else        {            try            {                DynaBean bean = _dynaClass.newInstance();                for (Iterator it = _columnsToProperties.entrySet().iterator(); it.hasNext();)                {                    Map.Entry entry = (Map.Entry)it.next();                    bean.set((String)entry.getValue(), _resultSet.getObject((String)entry.getKey()));                }                return bean;            }            catch (Exception ex)            {                cleanUp();                throw new DynaSqlException("Exception while reading the row from the resultset", ex);            }        }    }