Hi!
I configured Nhibernate and log4net to log queries executed by nhibernate. Is there any way to log each query execution time?
Hi!
I configured Nhibernate and log4net to log queries executed by nhibernate. Is there any way to log each query execution time?
Just configure your ConversionPattern to use the '%d' parameter. Look at this example.
You might want to try nhibernate profiler. It has 30 day trial which is enough to figure out what's happening and catch all problems. And it's a nice tool in general - worth buying in case You rely on nhibernate heavily.