IBM Support

IC66236: INSERTING A ROW ON DB2 FOR Z/OS WITH ENTITY FRAMEWORK FAILS WITH ERROR SQL0199N

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • If you have an application developped with Microsoft ADO.NET
    Entity Framework, you will get an error during the insertion of
    a row in DB2 for z/OS : the method entities.savechanges()
    incorrectly send this query to DB2 for z/OS
    SELECT ... FROM NEW TABLE (INSERT...
    instead of
    SELECT ... FROM FINAL TABLE (INSERT...
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * WINDOWS                                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * If you have an application developped with Microsoft         *
    * ADO.NETEntity Framework, you will get an error during the    *
    * insertionof a row in DB2 for z/OS : the method               *
    * entities.savechanges()incorrectly send this query to DB2 for *
    * z/OSSELECT ... FROM NEW TABLE (INSERT...instead ofSELECT ... *
    * FROM FINAL TABLE (INSERT...                                  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to 9.7 FP2 or later                                  *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IC66236

  • Reported component name

    DB2 CONNECT

  • Reported component ID

    DB2CONNCT

  • Reported release

    970

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-02-12

  • Closed date

    2010-05-25

  • Last modified date

    2010-05-25

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    IC66663

Fix information

Applicable component levels

  • R970 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEPGG","label":"DB2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.7","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
25 May 2010