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 "Xavier TROUSSICOT (JIRA)" <ji...@apache.org> on 2005/10/03 10:19:48 UTC
[jira] Created: (DDLUTILS-23) Method write(Iterator beans) in DataWriter class doesn't work
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
[jira] Resolved: (DDLUTILS-23) Method write(Iterator beans) in DataWriter class doesn't work
Posted by "Thomas Dudziak (JIRA)" <ji...@apache.org>.
[ 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
[jira] Updated: (DDLUTILS-23) Method write(Iterator beans) in
DataWriter class doesn't work
Posted by "Thomas Dudziak (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/DDLUTILS-23?page=all ]
Thomas Dudziak updated DDLUTILS-23:
-----------------------------------
Component: Core (No specific database)
> 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
> Components: Core (No specific database)
> 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