Extending the data types files
You can extend the attributes available to you by adding your own XML attributes and abstract data types to the datatypes.xml file.
You will need to modify the datatypes.xml file in the following cases:
- When you want to change the actual size of an existing data type.
- When you want to restrict the length of the input for a particular field on the UI. For example, say the data type allows the input to be of length 20 but in the UI you want to restrict the length of the input to just 10.
- When the existing data types does not meet your requirements and you want to create a completely new data type.
You will need to modify the yfsdatatypemap.xml file in the following case:
- When you have defined a completely new data type in the datatypes.xml file and you want to define the mapping for this new data type in the yfsdatatypemap.xml file.
Note: Alter Scripts would not be generated on changing the size of CLOB datatype.