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
Assigned to: 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