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 and later
Information in this document applies to any platform.


Executing a LINQ Query using ODP.NET 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.


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