DB2 - Problembeschreibung
| Problem IC95436 | Status: Geschlossen |
JDBC DOESN'T REPORT SQLCODE 100 WHEN NO DATA IS UPDATED OR DELETED | |
| Produkt: | |
DB2 FOR LUW / DB2FORLUW / A50 - DB2 | |
| Problembeschreibung: | |
JDBC wrapper doesn't report SQLCODE +100 when no data is
updated or deleted. This because the JDBC driver doesn't
report any warning when NO data is updated or deleted.
For example:
db2 => SELECT * FROM N1
c1 c2
----------- ----------
1 3343
2 123
2 record(s) selected.
db2 => UPDATE N1 SET "c1" = '123' where "c1"=3
DB20000I The SQL command completed successfully.
The expected result is:
SQL0100W No row was found for FETCH, UPDATE or DELETE; or the
result of a
query is an empty table. SQLSTATE=02000 | |
| Problem-Zusammenfassung: | |
User affected: Users who use JDBC wrapper of InfoSphere Federation Server Problem description and summay: See error description | |
| Local-Fix: | |
Please contact the vendor of JDBC driver and make sure there is SQLWarning with SQLSTATE 100 reported after executing the SQL. | |
| verfügbare FixPacks: | |
DB2 Version 10.5 Fix Pack 3 for Linux, UNIX, and Windows | |
| Lösung | |
Problem was fistly fixed in Version 10.5 FixPak 3. This fix should be applied on the federation Server. | |
| Workaround | |
keiner bekannt / siehe Local-Fix | |
| Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 27.08.2013 10.03.2014 10.03.2014 |
| Problem behoben ab folgender Versionen (IBM BugInfos) | |
| Problem behoben lt. FixList in der Version | |
| 10.5.0.3 |
|
| 10.5.0.3 |
|