My Oracle Support Banner

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

Last updated on FEBRUARY 16, 2019

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

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

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


In this Document
Symptoms
Cause
Solution
References


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