IBM Support

JR27842: TYPE 4 UNIVERSAL JCC DRIVER RETURNS WRONG VALUE FOR DATABASE METADATA FUNCTIONS AGAINST ISERIES.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • DatabaseMetaData class methods for quoted identifers,
    such as storesLowerCaseQuotedIdentifiers,
    SupportsMixedCaseQuotedIdentifiers(),
    StoresMixedCaseQuotedIdentifiers() returns True if called
    against DB2 database on iseries. But it should return False
    because,
    
    From the JDBC definition of storesMixedCaseQuotedIdentifiers(),
    the value returned will be true only if the database
    
    1) treats mixed case quoted SQL identifiers as case insensitive.
    2) and stores them in mixed case.
    
    Therefore,
    storesMixedCaseQuotedIdentifiers() should return false since DB2
    doesn't treat them as case insensitive.
    The result should be the same for other metadata functions too.
    
    The same functions return False against DB2 on Luw and ZOS.
    

Local fix

Problem summary

  • Users affected:
         All users using Type 4 JCC driver connecting to iseries.
    
    Problem description:
             Type 4 Jcc driver connecting to DB2 on iseries returns
    wrong value for metadata functions.
    
    Problem Summary:
     DatabaseMetaData class methods for quoted identifers,
    such as storesLowerCaseQuotedIdentifiers,
    SupportsMixedCaseQuotedIdentifiers(),
    StoresMixedCaseQuotedIdentifiers() returns True if called
    against DB2 database on iseries. But it should return False
    because,
    
    From the JDBC definition of storesMixedCaseQuotedIdentifiers(),
    the value returned will be true only if the database
    
    1) treats mixed case quoted SQL identifiers as case insensitive.
    2) and stores them in mixed case.
    
    Therefore,
    storesMixedCaseQuotedIdentifiers() should return false since DB2
    doesn't treat them as case insensitive.
    The result should be the same for other metadata functions too.
    
    The same functions return False against DB2 on Luw and ZOS.
    

Problem conclusion

  • Problem first fixed in V9.5 FP2.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR27842

  • Reported component name

    DB2 CEE WINDOWS

  • Reported component ID

    5765F3001

  • Reported release

    810

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2007-11-15

  • Closed date

    2008-09-22

  • Last modified date

    2008-09-22

  • 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

    DB2 CEE WINDOWS

  • Fixed component ID

    5765F3001

Applicable component levels

  • R950 PSY

       UP

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"810"}]

Document Information

Modified date:
07 October 2021