Previous Topic: Data Model RetransformationNext Topic: Identify Changes to the Data Model


Basics of Retransformation

CA Gen retains complete knowledge of how each component of the data model is implemented in the data structure. Each object on the list (except for indexes) is the direct implementation of an object or objects in the data model. CA Gen can easily keep track of what has or has not been implemented. CA Gen-executed consistency check refreshes the Data Structure List and the Data Store List to eliminate the errors.

Note: A change to the DSD name for an implemented entity type or attribute does not cause a consistency check error and so will never result in a change to the name of the corresponding table or column.

As system development progresses and the data model changes, you may need to transform specific pieces of the data model. These changes may need to be implemented into all of the possible DBMSs, only a few, or only one. This is achieved through incremental retransformation.

These situations may require incremental retransformation:

When new objects are added to the data model, their implementations must be added to the Data Structure List for the targeted DBMS as well.

When an existing data model object is changed, its implementation on the Data Structure List must be deleted. CA Gen then puts the object on the list of unimplemented data model objects, and it may then be added as if it were a new data model object.

The following list details the rules of retransformation for multiple target DBMSs:

An object deleted from the data model requires no retransformation action as the object and its dependent objects are immediately deleted from the Data Structure List.

For example, deleting an identifying attribute in the data model will cause the following to be deleted: