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 | |
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 |