Answer Question
NHibernate deadlock problem
I am developing a website using the O/R mapper NHibernate, and sometimes i get this error:
System.Data.SqlClient.SqlException: Transaction (Process ID xxx) was deadlocked on lock resources with another process and has been chosen as the deadlock victim
I was using NHibernate transactions, but have tried to disable that in order to see if the problem would persist and it's still there. Is NHibernate internally using transactions even when only retrieving data?
How can or should I handle this practically and in terms of application architecture?
TEXT
Uploading file and scanning for virus...
Please Wait