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 IC97286 Status: Geschlossen

CAST() IN QUERY USED IN .NET FRAMEWORK INCORRECTLY MAPS VARCHAR(1) TO TEXT
DATATYPE IN IDS DATABASE.

Produkt:
DB2 FOR LUW / DB2FORLUW / A50 - DB2
Problembeschreibung:
Test case: 
 
http://localhost:60653/OdataService/http/v1/client()?$filter=lcd 
_id eq 
'0970'&$top=10&$expand=alternate_name,case_defendant 
 
 
 
Error Output: 
 
 
 
<m:error 
 
xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/m 
etadata" 
> 
 
<m:code/> 
 
<m:message xml:lang="en-US">An error occurred while processing 
this 
request.</m:message> 
 
<m:innererror> 
 
<m:message> 
 
An error occurred while executing the command definition. See 
the inner 
exception for details. 
 
</m:message> 
 
<m:type>System.Data.EntityCommandExecutionException</m:type> 
 
<m:stacktrace> 
 
at 
 
System.Data.EntityClient.EntityCommandDefinition.ExecuteStoreCom 
mands(En 
tityCommand entityCommand, CommandBehavior behavior) at 
 
System.Data.Objects.Internal.ObjectQueryExecutionPlan.Execute[TR 
esultTyp 
e](ObjectContext context, ObjectParameterCollection 
parameterValues) at 
System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 
forMergeOption) 
at 
 
System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEn 
umerable 
<T>.GetEnumerator() at 
 
System.Data.Services.Providers.BasicExpandProvider.ExpandedQuery 
able`1.G 
etEnumerator() at 
 
System.Data.Services.Providers.BasicExpandProvider.ExpandedQuery 
able`1.S 
ystem.Collections.IEnumerable.GetEnumerator() at 
 
System.Data.Services.WebUtil.GetRequestEnumerator(IEnumerable 
 
enumerable) at System.Data.Services.QueryResultInfo.MoveNext() 
at 
System.Data.Services.DataService`1.SerializeResponseBody(Request 
Descript 
ion description, IDataService dataService, IODataResponseMessage 
 
responseMessage) at 
 
System.Data.Services.DataService`1.HandleNonBatchRequest(Request 
Descript 
ion description) at 
System.Data.Services.DataService`1.HandleRequest() 
</m:stacktrace> 
 
<m:internalexception> 
 
<m:message> 
 
ERROR [IX000] [IBM][IDS/UNIX64] Corresponding column types must 
be 
compatible for each UNION statement. 
 
</m:message> 
 
<m:type>IBM.Data.DB2.DB2Exception</m:type> 
 
<m:stacktrace> 
 
at IBM.Data.DB2.DB2Command.ExecuteReaderObject(CommandBehavior 
behavior, 
String method, DB2CursorType reqCursorType, Boolean 
abortOnOptValueChg, 
Boolean skipDeleted, Boolean isResultSet, Int32 maxRows, Boolean 
 
skipInitialValidation) at 
 
IBM.Data.DB2.DB2Command.ExecuteReaderObject(CommandBehavior 
behavior, 
String method) at 
IBM.Data.DB2.DB2Command.ExecuteReader(CommandBehavior 
behavior) at 
IBM.Data.DB2.DB2Command.ExecuteDbDataReader(CommandBehavior 
behavior) at 
System.Data.Common.DbCommand.ExecuteReader(CommandBehavior 
behavior) at 
 
System.Data.EntityClient.EntityCommandDefinition.ExecuteStoreCom 
mands(En 
tityCommand entityCommand, CommandBehavior behavior) 
 
</m:stacktrace> 
 
</m:internalexception> 
 
</m:innererror> 
 
</m:error>
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* Informix DRDA users                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 Client v10.5 fp3                              * 
****************************************************************
Local-Fix:
verfügbare FixPacks:
DB2 Version 10.5 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 10.5 Fix Pack 3a for Linux, UNIX, and Windows
DB2 Cancun Release 10.5.0.4 (also known as Fix Pack 4) for Linux, UNIX, and Windows
DB2 Version 10.5 Fix Pack 9 for Linux, UNIX, and Windows

Lösung
This defect is first fixed in DB2 Client v10.5 fp3
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
29.10.2013
09.12.2013
09.12.2013
Problem behoben ab folgender Versionen (IBM BugInfos)
Problem behoben lt. FixList in der Version
10.5.0.3 FixList
10.5.0.3 FixList