IBM Support

JR44785: CMVC 225076 - RESOLVE AND ISSUE WHERE STATEPROVINCECACHE DOES NOT FULLY CACHE STATEPROVINCEACCESSBEAN.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The WebSphere Commerce data cache caches results from the
    following two StateProvinceAccessBean finder methods:
    
    1)  findByLanguageIdStateAbbrAndCountryAbbr
    2)  findByCountryNameAndLanguageId
    
    However, it does not cache results from the following finder
    method:
    
    3)  findByLanguageIdAndState
    

Local fix

Problem summary

  • USERS AFFECTED:
    All WebSphere Commerce users who enable the
    com.ibm.commerce.taxation.objsrc.StateProvinceCache logical
    cache.
    
    PROBLEM ABSTRACT:
    StateProvinceAccessBean is not cached in the StateProvinceCache
    data cache if retrieved by findByLanguageIdAndState.
    
    BUSINESS IMPACT:
    Potential performance improvement
    
    RECOMMENDATION:
    

Problem conclusion

  • Additional data caching for the
    StateProvinceAccessBean.findByLanguageIdAndState finder method
    was added to the
    com.ibm.commerce.taxation.objsrc.StateProvinceCache logical
    cache.
    
    The following sample code shows how custom code can also take
    advantage of the new caches:
    
    StateProvinceAccessBean bean =
    WCDataCache.newStateProvinceCache();
    Enumeration en = bean.findByLanguageIdAndState( languageId,
    state );
    
    To find out more about the WebShere Commerce data cache, refer
    to:
    http://pic.dhe.ibm.com/infocenter/wchelp/v7r0m0/topic/com.ibm.co
    mmerce.admin.doc/tasks/tdccdccont.htm
    
    -------------------------------------------------------------
    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

    JR44785

  • 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

    2012-11-16

  • Closed date

    2013-03-07

  • Last modified date

    2013-03-07

  • 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:
07 March 2013