IBM Support

IT48967: MISSING WHERE CLAUSE IN DATABASE UPDATE CAUSES ALL ROWS IN A TABLE TO BE LOCKED

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • The SQL submitted to a database is missing the WHERE clause that
    is in the ESQL written for the node. The lack of the WHERE
    clause causes all rows in the table to be locked for update
    impacting performance.
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    All users of IBM Integration Bus v10.1, App Connect Enterprise
    v12 and App Connect Enterprise v13 who use a database WHERE
    clause that includes sections that are evaluated internally by
    ACE or IIB, and sections that are evaluated by the database.
    
    
    Platforms affected:
    AIX, WinX64, LinuxZ64, LinuxPPCLE64, LinuxX64
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    For example example an ESQL statement like this "UPDATE
    Database.my_table AS A SET x = 123456 WHERE A.y = 987654 AND A.z
    = my_max_value();"
    my_max_value() is an ESQL procedure.
    In a
    statement of this form where my_max_value() is evaluated by
    ACE/IIB the whole WHERE clause is never sent to the database.
    The missing WHERE clause may then lead to a loss of performance
    when updating the database due to excessive row locking in the
    table. This is especially noticeable if the table has a large
    number of rows.
    

Problem conclusion

  • The SQL code, generated from the ESQL code in the node, which is
    sent to the database has been amended to prevent this happening.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version   Maintenance Level
    v10.1      10.1.0.7
    v12.0      12.0.12.25
    v13.0      13.0.7.0
    
    The latest available maintenance can be obtained from:
    http://www-01.ibm.com/support/docview.wss?rs=849&uid=swg27006041
    
    If the maintenance level is not yet available,information on
    its planned availability can be found on:
    http://www-1.ibm.com/support/docview.wss?rs=849&uid=swg27006308
    ---------------------------------------------------------------
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT48967

  • Reported component name

    APP CONNECT ENT

  • Reported component ID

    5724J0560

  • Reported release

    C00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    YesHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2026-01-16

  • Closed date

    2026-03-13

  • Last modified date

    2026-03-13

  • 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

    APP CONNECT ENT

  • Fixed component ID

    5724J0560

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSDR5J","label":"IBM App Connect Enterprise"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"C00","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Document Information

Modified date:
14 March 2026