Latest versionsfixlist
11.1.0.6 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26
Question in the chat LiveZilla Live Help

DB2 - Problem description

Problem IC64161 Status: Closed

GETGENERATEDKEYS RETURNS A NULL RESULTSET INSTEAD OF THE ACTUAL GENERATED
IDENTITY VALUES

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem description:
JDBC Applications can use the getGeneratedKeys method to 
retrieve the Identity column values generated by an INSERT. In 
JCC version 3.57.82 (shipped with DB2 v9.7 GA) this method 
incorrectly returns a NULL resultset.
Problem Summary:
Users Affected: JCC applications inserting data into Tables with 
Generated Identity columns using the getGeneratedKeys method to 
retrieve the generated Identity column value. 
 
Problem Description: The getGeneratedKeys method incorrectly 
returns NULL instead of the generated value. This problem occurs 
in JCC versions greater than 3.53.95 and less than 3.57.86
Local Fix:
available fix packs:
DB2 Version 9.7 Fix Pack 1 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 5 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 2 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 3a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 5 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 7 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 10 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 10 for Linux, UNIX, and Windows

Solution
First fixed in JCC version 3.57.86 which was shipped with DB2 
v9.7 FP1. 
 
The problem is also fixed in JCC version 3.57.82 which was 
shipped with Data Studio 2.2.
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
27.10.2009
22.12.2009
09.02.2010
Problem solved at the following versions (IBM BugInfos)
9.7.FP1
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.1 FixList
This site uses cookies to make it easier for us to provide you with our services. By using our site you agree to the use of cookies.