home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Neueste VersionenFixList
11.1.0.7 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
Haben Sie Probleme? - Kontaktieren Sie uns.
Kostenlos registrieren anmeldung-x26
Kontaktformular kontakt-x26

DB2 - Problembeschreibung

Problem IC81257 Status: Geschlossen

DB2DATAADAPTER.UPDATE(DATASET) THROWS DB2EXCEPTION TRYING TO UPDATE ROW TO
SAME VALUES

Produkt:
DB2 CONNECT / DB2CONNCT / 970 - DB2
Problembeschreibung:
After installing the the DB2 v. 9.7 FP5 the DB2DataAdapter will 
throw DB2Exception when updating a DataTable which contains an 
updated row with assigned new values the same as the original 
values (DataRowVersion.Original). 
 
Example .NET: 
 
Assume:  table T_TEST has column TESTVAL and only 1 row with 
value "test1" 
 
            DB2DataAdapter adapter = new DB2DataAdapter(); 
            adapter.SelectCommand = new DB2Command("select * 
from t_test",db2Conn); 
            DataSet ds = new DataSet(); 
            adapter.Fill(ds); 
 
            DB2CommandBuilder db2cb = new 
DB2CommandBuilder(adapter); 
            DataRow row = ds.Tables[0].Rows[0]; 
            row["TESTVAL"] = "test1"; 
 
            adapter.Update(ds); 
 
The eecution of adapter.Update(ds) will result in DB2Exception 
with message: 
 
ERROR [22540] [IBM][DB2/NT] SQL20434N  An update operation 
hasset all of its target columns to unassigned
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* .NET apps using 9.7.5 DB2 .NET provider and DB2DataAdapter   * 
* API.                                                         * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to product V9.7 FP6.                                 * 
****************************************************************
Local-Fix:
verfügbare FixPacks:
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 7 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 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 10 for Linux, UNIX, and Windows

Lösung
Problem was first fixed in DB2 UDB Version 9.7 Fix Pack 6.
Workaround
keiner bekannt / siehe Local-Fix
Bug-Verfolgung
Vorgänger  : APAR is sysrouted TO one or more of the following: IC84342 
Nachfolger : 
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
07.02.2012
06.06.2012
06.06.2012
Problem behoben ab folgender Versionen (IBM BugInfos)
9.7.FP6
Problem behoben lt. FixList in der Version
9.7.0.6 FixList