Entity Framework LINQ Query Generates SQL Which Fails with ORA-904 Invalid Identifier
Last updated on JULY 05, 2017
Applies to:Oracle Data Provider for .NET - Version 126.96.36.199 and later
Information in this document applies to any platform.
Executing a LINQ Query using ODP.NET 188.8.131.52 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
Million Knowledge Articles and hundreds of Community platforms