Previous Topic: Overview of Transformations in r8Next Topic: Changes to the User Interface


Impact of the r8 Transformations Functionality

Both the many-to-many and supertype-subtype relationships are automatically transformed at the time of creation of the relationship object.

Automatic Many-To-Many Transformation

When a many-to-many relationship is created, CA ERwin Data Modeler automatically creates the association table and its relationships. The following rules apply to this transformation:

Automatic Supertype-Subtype Identity Transformation

When a supertype-subtype relationship is created using a supertype-subtype symbol between two entities CA ERwin Data Modeler creates a subtype relationship between those two entities. The following rules apply to this transformation:

Column Denormalization Transformation

The column denormalization transform is implemented differently in r8, using the Link object. A Link object will be automatically created to link an existing source attribute/column to a new or existing target attribute/column. You can create new Link objects and specify Link object properties using the Link Wizard. The Link Wizard is accessed from the Link tab of either the Attribute Editor or the Column Editor.

The Link Wizard lets you:

The following rules apply to Link objects:

Changes to the Supertype-Subtype Roll Up Transform Relationship Roll Up Rule

An enhancement was made to the supertype-subtype roll up transform relationship roll up rule for r8. All of the relationships coming to subtype tables from another table are merged into one by the roll up transformation unless rolenames are applied on any of the migrated attributes. This is the case where one table contributes its non-identifying relationships to more than one subtype table of the same supertype-subtype construct.

In previous versions, the old rule specified that each relationship associated with subtype tables had a correspondent target relationship in the supertype-subtype roll up transform.

For example, if E/4 has one non-identifying relationship coming into the subtype E/2 and one coming into the subtype E/3, then after the roll up, each of the non-identifying relationships had a corresponding target relationship going from E/4 to the supertype table E/1, as shown here:

Example Model_Old Transforms_SS Rollup Rule

For r8, the new rule specifies that if the incoming relationships to subtype tables have the same parent table, then merge them into one target relationship except for those relationships that are carrying rolenamed FK attributes.

Example 1: No rolenames are applied. All of the relationships coming from the parent table E/4 into subtype tables E/2 and E/3 are merged into one target relationship from E/4 to E/1:

Example 1_New SS Rollup Rule

Example 2: Some migrated FK attributes have rolenames. Attribute a migrated from E/4 to E/3 is rolenamed to RoleName. When the transformation is applied, every relationship that carries at least one rolenamed attribute will be represented in the target, so besides the relationship from E/4 to E/2, the relationship from E/4 to E/3 will also be represented in the target because it carries the rolenamed attribute RoleName.

Example 2_New SS Rollup Rule