IBM Support

PM28353: Incorrect Delta DDL generated when the modification includes a Primary Key

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If on comparison of two objects, there is a difference on a
    primary Key that needs to be modified, then the generated Delta
    DDL is faulty.
    
    Steps to Reproduce:
    - Create new Data Design Project
    - Add new Physical Data Model targeted for Oracle 10 (name =
    First)
    - Add a table to the schema (Table1)
    - Add a column to the table (name=id, datatype=VARCHAR2,
    length=2) and make it the primary key.
    - Copy the whole Physical Data Model in a new model (name =
    Second)
    - Change Second/Table1/id/length into 10 and save
    - Select both models and Right Click ? Compare With ? Each Other
    - Select id field and copy difference from right to left
    - Generate Delta DDL for the change.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The error occurred because the column being assigned NOT
    NULL was not checked if it was already NOT NULL, thus when
    the product tried to add a NOT NULL to a column which
    already has the property, then on executing the DDL the
    problem surfaces and does not execute.
    

Problem conclusion

  • The Fix involved adding the check for NOT NULL while
    generating the DDL.
    
    This problem is fixed in Rational Software Architect
    7.5.5.4.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM28353

  • Reported component name

    SW ARCHITECT WI

  • Reported component ID

    5724I7001

  • Reported release

    752

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-12-07

  • Closed date

    2011-06-30

  • Last modified date

    2011-06-30

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    RATL APP DEV WI

  • Fixed component ID

    5724J1901

Applicable component levels

  • R752 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.2","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
30 June 2011