IBM Support

PM16007: Unable to generate entities using the JPA wizard for XML Datatype

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The generation of a JPA entity on an Oracle table that has a
    column of XMLTYPE type, will throw a NullPointerException that
    will stop the process.
    
    This is a problem in Eclipse, Data Tools platform.
    
    The reference on Eclipse's bugzilla:
    
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=296868
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    This is a bug with DTP:
    PredefinedDataTypeDefinition.getJavaClassName() is
    returning null. Probably because the Java class name is not
    defined in the DTP
    enablement plug-in's .xmi file. Set java.lang.String class
    name for xml type in all enablements. AmazinglySysbase xmi
    file did have java class name set (also to String).
    

Problem conclusion

  • The javaClassName="java.lang.String"
    is added for the XML_TYPE_1 in the xmi file.
    
    This fix will be available in Rational Application Developer
    v7.5.5.2.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM16007

  • Reported component name

    SW ARCHITECT WI

  • Reported component ID

    5724I7001

  • Reported release

    754

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-06-07

  • Closed date

    2010-10-08

  • Last modified date

    2010-10-08

  • 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

    SW ARCHITECT WI

  • Fixed component ID

    5724I7001

Applicable component levels

  • R754 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYKBQ","label":"Rational Software Architect Designer for WebSphere Software"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"754","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS4JCV","label":"Rational Software Architect for WebSphere Software"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"754","Edition":"","Line of Business":{"code":"LOB15","label":"Integration"}}]

Document Information

Modified date:
08 October 2010