You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is what to include in your request to make sure we implement a solution as quickly as possible.
1. Description
Describe the issue or propose a feature.
The Update method generates invalid SQL on Oracle when the IQueryable includes an OrderBy call.
2. Exception
If you are seeing an exception, include the full exception details (message and stack trace).
ORA-00936: missing expression https://docs.oracle.com/error-help/db/ora-00936/
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
[Table("WOF_GROUP_STEP_PRIORITY", Schema ="TSD_MKTG")]publicclassWOF_GROUP_STEP_PRIORITY{[Key,Column("GRP_ID", Order =0)]publicdecimalgroupId{get;set;}[Key,Column("WOF_STEP_ID", Order =1)]publicdecimalworkflowStepId{get;set;}[Column("PRIORITY")][Required]publicdecimalpriority{get;set;}[ForeignKey(nameof(groupId))]publicvirtualTSD_GRPforemanGroup{get;set;}[ForeignKey(nameof(workflowStepId))]publicvirtualWOF_WORK_FLOW_STEPworkflowStep{get;set;}}
Here is what to include in your request to make sure we implement a solution as quickly as possible.
1. Description
Describe the issue or propose a feature.
The Update method generates invalid SQL on Oracle when the IQueryable includes an OrderBy call.
2. Exception
If you are seeing an exception, include the full exception details (message and stack trace).
ORA-00936: missing expression
https://docs.oracle.com/error-help/db/ora-00936/
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: Oracle.ManagedDataAccess.Client.OracleException: ORA-00936: missing expression
https://docs.oracle.com/error-help/db/ora-00936/
3. Fiddle or Project
This method will throw the error
Here is the definition of the GetByGroupId method
4. Any further technical details
Add any relevant detail can help us.
Entity definition
The code above generates the following query
If you remove the OrderBy clause, the query works and the following SQL is generated.
Further technical details
The text was updated successfully, but these errors were encountered: