Entity Framework LINQ Query Generates SQL Which Fails with ORA-904 Invalid Identifier (Doc ID 1513271.1)

Last updated on JULY 05, 2017

Applies to:

Oracle Data Provider for .NET - Version 11.2.0.3 and later
Information in this document applies to any platform.

Symptoms

Executing a LINQ Query using ODP.NET 11.2.0.3 results in the generation of SQL that fails with:


ORA-00904: "Extent1"."ID": invalid identifier

where "ID" can be any column name.


The error occurs when using multiple many to many relations in a model. The same model used with SQL Server works as expected.

Cause

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 hundreds of Community platforms