XML Schema for <generate>

<generate>
The root element for a Generate XML Document.
NameTypeRequiredDescription
logstringrequiredThe file that will contain all info, audit and error messages.
arrow1
<connection>
The connection definition used by DataGenerator.
NameTypeRequiredDescription
typestringrequiredThe type of connection definition. The value should map to the class that implements ConnectionDef.
arrow0..*
<property>
The properties applied to the connection definition object.
NameTypeRequiredDescription
namestringrequiredThe name of the property.
valuestringrequiredThe value of the property.
arrow1..*
<entity>
The list of tables whose values will be generated.
NameTypeRequiredDescription
tablestringrequiredThe table name whose data will be generated.
schemastringoptionalThe schema name of the table.
catalogstringoptionalThe catalog name of the table.
targetstringoptionalThe file that will contain the rows generated (used for entities that are generated).
countintegeroptionalThe number of rows to generate (used for entities that are generated).
wherestringoptionalThe where clause to be appended to the SQL selection statement (used for source entities whose data comes from the database).
sourcestringoptionalThe source file containing the rows or 'db' (used for source entities).
encodingstringoptionalThe source or target file's encoding charset.
arrow1
<delimiter>
The delimiter formatter definition used to format the target file.
NameTypeRequiredDescription
typestringrequiredThe type of delimiter formatter. The value should map to the class that implements DelimiterFormatter.
arrow0..*
<property>
The properties applied to the delimiter formatter.
NameTypeRequiredDescription
namestringrequiredThe name of the property.
valuestringrequiredThe value of the property.
arrow1..*
<column>
The list of columns in the table and target file
NameTypeRequiredDescription
namestringrequiredThe name of the column.
SQLTypesqlTypeoptionalThe type of the column.
formatstringoptionalThe format pattern used to describe how to format numbers or dates.
arrow1
<generator>
The column generator that will be used to generate values.
NameTypeRequiredDescription
typestringrequiredThe type of column generator. The value should map to the class that implements ColumnValueGenerator.
arrow0..*
<property>
The properties applied to the column generator.
NameTypeRequiredDescription
namestringrequiredThe name of the property.
valuestringrequiredThe value of the property.