0

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 appreciate your advice. Thanks

2
  • I am have a similar problem. Can you please share what you found from the logging. Thanks!
    – user771684
    Commented May 26, 2011 at 16:30
  • Hi @Bofors my problem was quite specific to my application. Also i can't remember the exact problem so i won't be able to help sorry.
    – nfplee
    Commented Jun 7, 2011 at 14:21

1 Answer 1

2

Without any other details, all I can recommend is to enable logging and/or use nhprof to diagnose it.

0

Not the answer you're looking for? Browse other questions tagged or ask your own question.