开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜