Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not showing batch commands #33

Closed
tallesl opened this issue Feb 14, 2014 · 1 comment
Closed

Not showing batch commands #33

tallesl opened this issue Feb 14, 2014 · 1 comment
Labels

Comments

@tallesl
Copy link

tallesl commented Feb 14, 2014

Mini profiler is not showing batch SQL commands.

I'm using it with the MiniProfiler.NHibernate driver. At first I thought it was a problem on the driver (here is the issue link), but, using another profiler (NHibernate profiler), the log performed by the driver works just fine.

So I wonder if this is a problem in the mini profiler itself, not on the driver.

If someone could aid me on this one I would be grateful. So far the only thing preventing us (the company I work at) to use it solely as our profiling is this issue (right now we have to use the other profiler I mentioned, we really want to profile those batch queries).

I'm using the version 2.1.0.0, installed with NuGet.

I have a setup (for debugging) with MiniProfiler installed from NuGet and the code of the driver as another project. The logging performed by MiniProfiler.NHibernate is done by this line:

Factory.Settings.SqlStatementLogger.LogBatchCommand([the string to be logged]);

Where Factory is global::NHibernate.Engine.ISessionFactoryImplementor. I will be glad to perform any test that would help detecting the issue, feel free to ask.

Thanks in advance.

@yellis
Copy link
Member

yellis commented Feb 15, 2014

Sorry, but it seems that whatever is happening here has something to do with the way that the NHibernate driver and the way that it interacts with MiniProfiler.

You might want to try and see if it works with the recently updated v3 of MiniProfiler (you never know).

However, for issues that are specifically related to the NHibernate driver, they will need to be addressed by the author of that driver.

If you are able to show some issue with MiniProfiler, please post details along with repro instructions.

@yellis yellis closed this as completed Feb 15, 2014
@yellis yellis added the wontfix label Feb 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants