IBM Support

JR50552: The ID resolver cache does not handle the decimal type properly, when using Oracle databases.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When running dataload with IdResolverCache size greater than 0,
    the process may show an error similar to the following:
    
     A problem occurred while the data writer
    {com.ibm.commerce.foundation.dataload.datawriter.JDBCDataWriter@
    200020}was processing the table data object.
     Exception message:
     An integrity constraint (foreign key, primary key or unique
    key) has been violated. The error was: ORA-00001: unique
    constraint (ESTORE.I0000056) violated
     .
     Stack trace:
     com.ibm.commerce.foundation.dataload.exception.DataLoadSQLExcep
    tion: An integrity constraint (foreign key, primary key or
    unique key) has been violated. The error was: ORA-00001: unique
    constraint (ESTORE.I0000056) violated.
    
     If the unique index column is a decimal column, it will not be
    handled properly by the ID resolver cache. For an Oracle
    database, when the column value is selected from the database,
    the returned value is not formatted properly. For other
    databases, the JDBC driver formats the data properly.
    

Local fix

  • Run dataload with  IdResolverCache=0
    

Problem summary

  • USERS AFFECTED:
     All WebSphere Commerce users with Oracle database using
    dataload utility when loading data to a table with decimal
    column in the unique index.
    
     PROBLEM ABSTRACT:
     The ID resolver cache does not handle the decimal type
    properly, when using Oracle databases.
    
     BUSINESS IMPACT:
     Not able run dataload with IDResolverCache size greater then
    zero, which impacts performance.
    
     RECOMMENDATION:
    

Problem conclusion

  • Code is modified to always reformat the decimal column value for
     the ID resolver cache.
    
     -------------------------------------------------------------
     The latest available maintenance information can be obtained
    from the Recommended Fixes for WebSphere Commerce technote:
     http://www.ibm.com/support/docview.wss?rs=3046&uid=swg21261296
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR50552

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-06-20

  • Closed date

    2014-07-21

  • Last modified date

    2014-07-21

  • 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

    WC BUS EDITION

  • Fixed component ID

    5724I3800

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYSYL","label":"WebSphere Commerce Enterprise"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]

Document Information

Modified date:
11 December 2021