IBM Support

PM45585: The data model for an EJB v2.1 CMP mapping may contain double synonyms when it is migrated to version 7.5.5.4

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • An EJB CMP mapping and data model may fail with a
    NonUniqueNameException when it is migrated to Rational
    Application Developer v7.5.5.4 and result in double synonyms
    defined in the data model file.
    
    Problem Details:
    
    An EJB CMP mapping and data model may fail with a
    NonUniqueNameException when it is migrated to Rational
    Application Developer v7.5.5.4.
    
    The migration wizard completed successfully; However, the
    workspace .log file shows an error for every column in table;
    For example:
    
    !ENTRY com.ibm.etools.ejbdeploy.core 4 0 2011-06-09 12:47:56.548
    !MESSAGE Backend migration failed on href
    'META-INF/backends/ORACLE_V10_1/sample.tblxmi#PERSON_NAME' in
    project 'MyTestProject'
    !STACK 0
    com.ibm.datatools.migration.resource.NonUniqueNameException
        at
    com.ibm.datatools.migration.resource.ResourceHelper.findID(Unkno
    wn
    Source)
        at
    com.ibm.datatools.migration.resource.ResourceHelper.findID(Unkno
    wn
    Source)
        at
    com.ibm.datatools.migration.resource.ResourceHelper.getEObjectID
    (Unknown
    Source)
    ...
    
    In the migrated project the resulting data model file (dbm) has
    2 copies of the original table.  Naturally the EJB mapping to
    this is also bad as it shows two synonyms and no mapping.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    While migrating the EJB projects from Rational Application
    Developer v6 models to Rational Application Developer
    v7.5.5.4 models, two synonyms are created in the v7 version
    even if there was only one synonym in v6. These new synonyms
    are actually duplicates of each other.
    
    The functionality will be correct if the migration results
    only in one synonym in v7 models.
    

Problem conclusion

  • The code was updated and this problem is fixed in Rational
    Application Developer v7.5.5.5.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM45585

  • Reported component name

    RATL APP DEV WI

  • Reported component ID

    5724J1901

  • Reported release

    755

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-08-11

  • Closed date

    2011-11-03

  • Last modified date

    2011-11-03

  • 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

  • R755 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.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
03 November 2011