Using NHibernate, I have just attempted to save a graph of objects using NHibernate. The save failed due to a not-null constraint violation.
I am now finding that a table in the database corresponding to one of the objects in the graph now appears to be locked. I cannot query it. Whenever I try, it just sits there doing nothing until I cancel the query. This has been the case for about half an hour.
In the save code, the transaction is first committed and then disposed.
SELECT @@TRANCOUNT against the database gives 0.
Any ideas a) What's going on and b) How can I get the table back?
Thanks
David