My Oracle Support Banner

Entity Framework 6 With ODP.Net Provider Automatically Generates Lengthy(OVER 1000-COLUMNS) SQL Causing ORA-1792 Error (Doc ID 2346677.1)

Last updated on JANUARY 11, 2018

Applies to:

Oracle Data Provider for .NET - Version 12.1.0.2 to 12.1.0.2 [Release 12.1]
Generic Windows

Symptoms

ODP.NET with Entity Framework 6 automatically generates lengthy (over 1000-columns) SQL causing application to fail with ORA-1792 error.

Same sample code with Entity Framework 6 tested with MS SQL Server, and found that the SQL generated from Microsoft dll (bundled with MS Entity Framework) is much more concise, i.e, no lengthy 1000-columns sub-query.

Changes

 ODP.NET driver used in place of Microsoft ADO.NET

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.