String    propName   = (String)entry.getKey();
String    propName   = (String)entry.getValue();
    public Object next() throws DynaSqlException    {        advanceIfNecessary();        if (_isAtEnd)        {            throw new NoSuchElementException("No more elements in the resultset");        }        else        {            try            {                DynaBean bean  = _dynaClass.newInstance();                Table    table = null;                if (bean instanceof SqlDynaBean)                {                    SqlDynaClass dynaClass = (SqlDynaClass)((SqlDynaBean)bean).getDynaClass();                    table = dynaClass.getTable();                }                for (Iterator it = _columnsToProperties.entrySet().iterator(); it.hasNext();)                {                    Map.Entry entry      = (Map.Entry)it.next();                    String    columnName = (String)entry.getKey();                    String    propName   = (String)entry.getKey();                    Object    value      = _platform.getObjectFromResultSet(_resultSet, columnName, table);                    bean.set(propName, value);                }                _needsAdvancing = true;                return bean;            }            catch (Exception ex)            {                cleanUp();                throw new DynaSqlException("Exception while reading the row from the resultset", ex);            }        }    }