IBM Support

JR48648: CMVC 232704 - Unnecessary queries to the ORDIADJUST table while preparing an order.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When an order is prepared for display, the
    OrderItemAdjustmentAccessBean.findByOrderItemAndCalculationUsage
    Id finder method is called for each order item and for each
    calculation usage, even when there are no order adjustments for
    an item.
    

Local fix

Problem summary

  • USERS AFFECTED:
     Customers of WebSphere Commerce Version 7 who prepare orders
    for display or submission.
    
     PROBLEM ABSTRACT:
     Unnecessary queries to the ORDIADJUST table while preparing an
    order.
    
     BUSINESS IMPACT:
     When there are many order items in an order, the performance
    can be improved by reducing the number of queries to the
    ORDIADJUST table.
    
     RECOMMENDATION:
    

Problem conclusion

  • The code was changed to call the
    OrderItemAdjustment.findByOrderIdAndCalculationUsageId(java.lang
    .Long orderId, java.lang.Integer calculationUsageId) finder
    method to determine which order items have an order item
    adjustment.  This avoids unnecessary queries to the ORDIADJUST
    table when some order items have no order item adjustments.
    
     -------------------------------------------------------------
     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

    JR48648

  • 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

    2013-11-27

  • Closed date

    2014-03-28

  • Last modified date

    2014-03-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

    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"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
28 March 2014