IBM Support

JR41608: JDBC WRAPPER MAY RETURN SQL1822N WHEN A CONSTRAINT VIOLATION OCCURS.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • JDBC wrapper can't be able to map constraint violation errors to
    DB2 errors. Users may receive SQL1822N other than detailed DB2
    error when a constraint violation occurs.
    
    For example:
    SELECT * FROM a_jdbc_nickname
    
    c1     c2
    ------ -----------
         1           1
         2           2
    
      2 record(s) selected.
    
    INSERT INTO a_jdbc_nickname values(3, 2)
    DB21034E  The command was processed as an SQL statement because
    it was not a valid Command Line Processor command.  During SQL
    processing it returned:
    SQL1822N  Unexpected error code "23505" received from data
    source "<your_jdbc_server>". Associated text and tokens are
    "ERROR:duplicate key value violates unique cons".
    SQLSTATE=560BD
    

Local fix

Problem summary

  • User affected:
      Users of the JDBC wrapper in InfoSphere Federation Server
    Problem description and summay:
      See error description
    

Problem conclusion

  • Problem was fistly fixed in Version 9.7, FixPak 6. This
    fix should be applied on the federation Server.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR41608

  • Reported component name

    FEDSRVR JDBC WR

  • Reported component ID

    5724N9714

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-01-06

  • Closed date

    2012-06-10

  • Last modified date

    2012-06-10

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

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

    IC84091 IC84654 IC84684

Fix information

  • Fixed component name

    FEDSRVR JDBC WR

  • Fixed component ID

    5724N9714

Applicable component levels

  • R970 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCXTZK","label":"Data Sources and Wrappers - JDBC Wrapper"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.7","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
10 June 2012