IBM Support

PM12109: Bottom-up EJBs for nullable primitive types aren't generated as wrapper since Rational Application Developer v7

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Environment:
    - Operating System: Microsoft Windows
      - Product name: Rational Application Developer 7.5.4
    
    Description of problem:
    When generating bottom-up EJBs for a column based on a NULLABLE
    primitive type, no wrapper types are generated since Rational
    Application Developer v7.0.
    There is no documentation indicating this behaviour change.
    
    Step to reproduce:
    1) Create a new EJB project
    2) Create a database model with one table and a primary key. Add
    an additional column of type INT NULLABLE.
    3) Deploy the database model to your database
    4) Generate bottom-up EJBs
    Result:
    Generated code uses int instead of Integer. The null value
    cannot be expressed.
    
    Within Rational Application Developer v6.0 the wrapper-type
    Integer was used.
    
    When searching within the help, there is no indication that the
    behaviour changed like this.
    
    Workaround:
    None
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Information about Bottom-up EJBs for NULLABLE primitive
    types aren't generated as wrapper needs to be added to the
    documentation.
    

Problem conclusion

  • Information about Bottom-up EJBs for NULLABLE primitive
    types aren't generated as wrapper needs to be added to the
    documentation.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM12109

  • Reported component name

    RATL APP DEV WI

  • Reported component ID

    5724J1901

  • Reported release

    754

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-04-13

  • Closed date

    2010-12-17

  • Last modified date

    2010-12-17

  • 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

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

Document Information

Modified date:
17 December 2010