You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ddlutils-dev@db.apache.org by "Thomas Dudziak (JIRA)" <ji...@apache.org> on 2005/10/04 08:17:52 UTC

[jira] Resolved: (DDLUTILS-23) Method write(Iterator beans) in DataWriter class doesn't work

     [ http://issues.apache.org/jira/browse/DDLUTILS-23?page=all ]
     
Thomas Dudziak resolved DDLUTILS-23:
------------------------------------

    Resolution: Fixed

Ups, you're right. Fix is in SVN.

> Method write(Iterator beans) in DataWriter class doesn't work
> -------------------------------------------------------------
>
>          Key: DDLUTILS-23
>          URL: http://issues.apache.org/jira/browse/DDLUTILS-23
>      Project: DdlUtils
>         Type: Bug
>  Environment: All
>     Reporter: Xavier TROUSSICOT
>     Assignee: Thomas Dudziak

>
>   The next() method is not called so the cast doesn't work.
>   Here is the correction :   
>   public void write(Iterator beans)
>     {
>         while (beans.hasNext())
>         {
>             write((SqlDynaBean)beans.next());
>         }
>     }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira