IBM Support

PM09972: EJB 2.1 bottom up generation from DB2 ZOS v 8 tables is missing columns and primary keys

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Environment:
    - Operating System:
    
    Windows XP
     - Product name:
    Rational Application developer v. 7.5.5
    
    Description of problem:
    
    When generating EJB 2.1 Entity beans from tables in Database DB2
     for z/OS and V8 (compatibility mode)
    the columns and primary keys present in the tables are not gener
    ated in the EJB Map file and
    will produce incomplete java code that does not compile.
    
    Step to reproduce:
    
        - Create a New Physical Data model for Database DB2 for z/OS
     and V8 (compatibility mode)
        - Add a table with PK and 1 field
        - In the JavaEE view , from the Data model make a right clic
    k and make 'Create EJB from Tables (1.x,2.x)'
        - Create new project with EJB module version 2.1
    
        - The code is generated but in Enterprise there is no column
    s columns 1 and 2
        - There is no mapping between the database table and the Ent
    erprise table generated
    

Local fix

Problem summary

  • Data model format has added a new column type
    zSeries:ZSeriesColumn for DB2 on zSeries.  The bottom-up
    mapping support does not understand this column type and
    fails with mapping the table columns.
    

Problem conclusion

  • EJB Mapping now recognizes the new data model type
    zSeries:ZSeriesColumn and can create mapping accordingly.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM09972

  • 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

    2010-03-15

  • Closed date

    2010-04-28

  • Last modified date

    2010-04-28

  • 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:
28 April 2010