home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Latest versionsfixlist
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
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IC84228 Status: Closed

DB2.NET ENTITY PROVIDER FAILS WITH THE CONNECTED SERVER DOESN'T
SUPPORT TOP EXPRESSION ERROR.

product:
DB2 CONNECT / DB2CONNCT / A10 - DB2
Problem description:
After upgrading to DB2 v9.7 FP5 and using the DB2 .NET Entity 
provider with the Microsoft Visual Studio Entity Framework 
Modeller - Linq Data Source, and exception can occur as follows: 
 
[NotSupportedException: The connected server doesn't support 
"Top" expression.] 
IBM.Data.DB2.Entity.SqlGenerator.Visit(DbLimitExpression e) +196 
System.Data.Common.CommandTrees.DbLimitExpression.Accept(DbExpre 
ssionVisitor`1 visitor) +20 
IBM.Data.DB2.Entity.SqlGenerator.a(DbExpression A_0, String A_1, 
TypeUsage A_2, Symbol& A_3) +86 
IBM.Data.DB2.Entity.SqlGenerator.Visit(DbProjectExpression e) 
+162 
System.Data.Common.CommandTrees.DbProjectExpression.Accept(DbExp 
ressionVisitor`1 visitor) +20 
IBM.Data.DB2.Entity.SqlGenerator.a(DbExpression A_0, Boolean 
A_1) +148 
IBM.Data.DB2.Entity.SqlGenerator.b(DbExpression A_0) +45 
IBM.Data.DB2.Entity.SqlGenerator.a(DbQueryCommandTree A_0, 
Hashtable& A_1, ArrayList& A_2, String[]& A_3) +491 
IBM.Data.DB2.Entity.SqlGenerator.GenerateSql(DbCommandTree tree, 
DB2ProviderManifest manifest, List`1& parameters, CommandType& 
commandType, Hashtable& 
IBM.Data.DB2.Entity.DB2ProviderServices.a(DbProviderManifest 
A_0, DbCommandTree A_1) +491 
IBM.Data.DB2.Entity.DB2ProviderServices.CreateDbCommandDefinitio 
n(DbProviderManifest manifest, DbCommandTree commandTree) +132 
System.Data.Common.DbProviderServices.CreateCommandDefinition(Db 
CommandTree commandTree) +84 
System.Data.EntityClient.EntityCommandDefinition..ctor(DbProvide 
rFactory storeProviderFactory, DbCommandTree commandTree) +333
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* Windows users, using DB2 .NET                                * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 Version 10.1, Fixpak 1                        * 
****************************************************************
Local Fix:
available fix packs:
DB2 Version 10.1 Fix Pack 1 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 2 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 3a for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 6 for Linux, UNIX, and Windows

Solution
First fixed in DB2 Version 10.1, Fixpak 1
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
13.06.2012
05.11.2012
05.11.2012
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
10.1.0.1 FixList
10.5.0.1 FixList