Default
Transactions Settings are not honored in some stored procedure queries.
In
our application we don’t set TransactionSetting for individual queries. We rely on the setting of the
TransactionSettings.Default
that we set in the application start up.
We
have encountered an intermittent problem where some stored procedure queries
get their
TransactionSettings.Timeout
reset to ADO.Net default (1 minute) causing “Transaction Timeout”
EntityServerException
with FailureType = Other. While investigating the problem we have noticed
that
TransactionSettings.Default.Timeout,
and EntityManager.DefaultQueryStrategy.TransactionSettings.Timeout
are
both set to the correct value, but
query.QueryStrategy.TransactionSettings.Timeout is set to 1 min.
Do you know of any reasons why TransactionSettings.Timeout of the
individual queries are not defaulted to the
TransactionSetting.Default and fall back to Ado.Net
default?
Thank you,
ritaf