writeDataToFile

Description

Java type: org.apache.ddlutils.task.WriteDataToFileCommand

Reads the data currently in the table in the live database (as specified by the enclosing task), and writes it as XML to a file.

Parameters

outputfile : File (required)

Specifies the file to write the data XML to.

encoding : String

Specifies the encoding of the XML file.
The default encoding is UTF-8.

determineschema : boolean

Specifies whether DdlUtils should try to find the schema of the tables when reading data from a live database.

failonerror : boolean

Specifies whether the execution shall stop if an error has occurred during the task runs.
By default execution will be stopped when an error is encountered.

Nested elements

©2005-2007 Apache Software Foundation