NHibernate - How to Enable Logging to Debug an Issue
I have a weird issue when committing changes in NHibernate. It doesn't throw an error but only about 20% of the time the changes are committed to the database. I know it sounds like a strange question and without code you won't be able to help much but i was just wondering what's the best way to debug this.
I've tried SQL Server Profile but this did not help much. Is there a way to enable logging or intercept any queries in NHibernate.
I'd really appreciat开发者_运维知识库e your advice. Thanks
Without any other details, all I can recommend is to enable logging and/or use nhprof to diagnose it.
精彩评论