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 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.


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

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