The DDL generator requires some additional elements which are related to DDL creation. The table below show all request elements. The priority is high (1) to low (5)
No |
element |
priority |
description |
|---|---|---|---|
1 |
schema_name |
5 |
This element, mapping's child element, defines the name of schema using in database |
2 |
field's size |
1 |
Define the size of field. he maximum display width for integer types. For floating-point and fixed-point types, M is the total number of digits. For string types, M is the maximum length. The maximum allowable value of M depends on the data type. It should be defined as the attribute of <sql> element |
3 |
decimal point |
1 |
Define the number of digits following the decimal point. It should be defined as the attribute of <sql> element |
4 |
default_value |
2 |
Define the default value of a new added data. It should be defined as the attribute of <sql> element |
5 |
allow_null |
2 |
Either the field allow null or not. Get TRUE/FALSE value. It should be defined as the attribute of <sql> element |
6 |
trigger_template |
3 |
Define the trigger template for a target database. This tag is placed in the key-generator's param or class's attribute |
7 |
Relationship dependency |
2 |
Define the dependency between tables who have relationships, this tag is placed in the <sql> element |