column — Define a column to be generated.
<column name="name
" [data-type="data type
"|ds-type="data type
"] [size="number
"] [random-seed="longValue
"]> ... </column>
This element define a column to be generated. At least one
of data-type
or ds-type
must be
specified.
The column name (obligatory).
The column data type. This data types are speficic to the program.
The column data source specific type. It must be the name of a data type define in the underlying data source DBMS.
The column size or length. For character string or byte string types, this attribute should be defined or the application will pick up 32 bytes or characters as value.
The random seed used when creating the random data generators.
Example 10. Column example
<project name="testProject"> ... <metadata> <table name="table1"> <generator ... /> ... <column name="column1" data-type="string" size="60"> ... </column> </table> <table name="table2"> <generator ... /> ... <column name="column2" ds-type="INT" random-seed="0"> ... </column> </table> </metadata> ... </project>