Dbchange¶
The dbchange model file is used to contain clnsource, ddlsource, dmlsource and xetrigger files that is not suitable to locate on an entity or utility, for example if a model has been obsoleted. Dbchanges can be layered, meaning that they can be extended.
Modeling¶
Dbchange models are easy to model in Developer Studio and there are no choices to be made when creating a dbchange model, the model is used to connect the implementation files (clnsource, ddlsource and dmlsource).
Files attached to dbchange model¶
- The clnsource file is used for cleaning up after an update.
- The ddlsource file is used for creating ddl statements for an update.
- The dmlsource file is used for creating dml statements for an update.
- The xetrigger file is used for creating cross edition triggers for an update.
Code generation¶
The source files are used to generate cln, ddl, dml and xet files which are run by the installer.
The clnsource, ddlsource, dmlsource and xetrigger files can also be attached to entities and utilities.