DB2 - Problembeschreibung
Problem IC79246 | Status: Geschlossen |
DB2CommandBuilder.DeriveParameters() may not resolve the parameters for a fully qualified stored procedure. | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problembeschreibung: | |
The DB2CommandBuilder.DeriveParameters() may not resolve the parameters of a stored procedure. This occurs when the following conditions are met: 1) The fully qualified name of the stored procedure must be used to resolve the stored procedure. 2) One or more of the parameters for the stored procedure are of either a REF CURSOR or ARRAY type. There might be other types which may also be used to fulfill this condition. When this problem is encountered, DB2CommandBuilder.DeriveParameters() will return a single parameter when there should be more. | |
Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * Windows using the IBM DB2 ADO.NET Provider * **************************************************************** * PROBLEM DESCRIPTION: * * The DB2CommandBuilder.DeriveParameters() may not resolve the * * * * parameters of a stored procedure. This occurs when the * * * * following conditions are met: * * * * 1) The fully qualified name of the stored procedure must be * * * * used to resolve the stored procedure. * * * * 2) One or more of the parameters for the stored procedure * * are * * of either a REF CURSOR or ARRAY type. There might be other * * * * types which may also be used to fulfill this condition. * * * * * * * * When this problem is encountered, * * * * DB2CommandBuilder.DeriveParameters() will return a single * * * * parameter when there should be more. * **************************************************************** * RECOMMENDATION: * * Upgrade to version 9.7 Fix Pack 6 * **************************************************************** | |
Local-Fix: | |
A potential workaround is to use CommandType=Text and CommandText="CALL db2admin.POC_REF_CURSOR.PR_GET_DATA(?,?,?)" | |
verfügbare FixPacks: | |
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows | |
Lösung | |
Problem was first fixed in Version 9.7 Fix Pack 6 | |
Workaround | |
keiner bekannt / siehe Local-Fix | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 17.10.2011 04.06.2012 04.06.2012 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
9.7.FP6 | |
Problem behoben lt. FixList in der Version | |
9.7.0.6 |