Is there any way to get NHibernate to emit a deadlock hint? e.g. for SQL server "SET DEADLOCK_PRIORITY LOW". At the moment I'm just executing a raw SQL query.
Here is the technique set dead lock priority, this uses nhibernate interceptors in order emit deadlock priority
Disclosure: Please note that link provided is of my own website
I am pretty sure there is no such thing. And emiting raw SQL seems OK to me in this very specific case.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With