I am currently experiencing regular time outs when requesting salesorders from SQL database:
Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
This happens with orders that are still "in use". Trying to request orders that are in use results in the time outs.
This could be prevented if the oData request generates a SQL query with "WITH (NOLOCK)", but this doesn't seem to be the case.
In the documentation I see examples where the queries are generated "WITH (NOLOCK)":
But if check the Endpoint logs I don't see any "WITH (NOLOCK)" in the queries:
url: /orders?$filter=ordernr eq '22305480'
Why are these not generated with "WITH (NOLOCK)"? How can I enforce this?