My Oracle Support Banner

ODPM: Race Condition Causes Invalid SQL Error "ORA-00933: SQL command not properly ended" (Doc ID 2565799.1)

Last updated on JULY 19, 2019

Applies to:

Oracle Data Provider for .NET - Version and later
Microsoft Windows x64 (64-bit)
Microsoft Windows (32-bit)


ODP.NET application using Entity Framework and Oracle.ManagedDataAccess.dll that randomly will generate bad SQL and it throws  ORA-00933: SQL command not properly ended error.
This  error happens when two independent commands are being generated on separate threads and it  generates the command always ends with a double where clause and the second clause is "WHERE (ROWNUM <= (x) )"

Error Stack :


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.