[Hibernate Profiler with Hibernate 4] - Different sessions are merged in the report

41 views
Skip to first unread message

Hoang Do

unread,
Mar 14, 2013, 5:12:18 AM3/14/13
to hibernate...@googlegroups.com
Hi,

I have been a user of Hibernate Profiler since v1.0 and had no problem so far when using it to profile various Hibernate 3 application.
However, when using the latest build (2145) to do the profiling on a Spring(3.1.3.RELEASE)/Hibernate(4.1.8.Final) with the XMLNS configuration, the report collected by Hibernate Profiler is not correct. There are many different Hibernate sessions are merged together thus, making the number of query per session incorrect.

Did you experience this problem and is this a bug or did I make any wrong?

Thanks for your support,
Hoang Do

Oren Eini (Ayende Rahien)

unread,
Mar 14, 2013, 5:15:33 AM3/14/13
to hibernate-profiler
Can you send us the File> Save output?


--
You received this message because you are subscribed to the Google Groups "Hibernate Profiler" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hibernate-profi...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Fitzchak Yitzchaki

unread,
Mar 14, 2013, 6:27:36 AM3/14/13
to hibernate...@googlegroups.com

Please also try to use build #2146, we have a bug in build #2145 which may prevent the UI from running.

--

Hoang Do

unread,
Mar 14, 2013, 11:33:24 PM3/14/13
to hibernate...@googlegroups.com
Sorry, I can't. This is a project for my company with some customer information.

Btw, I've tried the latest build (2146) and the problem still happened. I've also tried to debug the application and found that all sessions are correctly opened and closed for each request. Thus, they are not duplicated. There is probably some problem with the way HProf sending out the session identifier or collect this from the submitted data. Can you please help to check?

Thanks,
Hoang Do
To unsubscribe from this group and stop receiving emails from it, send an email to hibernate-profiler+unsub...@googlegroups.com.

Oren Eini (Ayende Rahien)

unread,
Mar 15, 2013, 12:05:50 AM3/15/13
to hibernate-profiler
Hi,
Our tests do not show this problem, so we really need something to help us here.
Can you try creating a sample project and see if this happens there?


To unsubscribe from this group and stop receiving emails from it, send an email to hibernate-profi...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages