Hibernate Statistics getExecutionMinTime() always returns 0
-----------------------------------------------------------
Key: HHH-3290
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3290
Project: Hibernate3
Issue Type: Bug
Components: core
Affects Versions: 3.2.1
Environment: JBoss 4.2.2.GA
Reporter: Jim Doyle
Priority: Minor
Attachments: hibernateStats.jsp
The minimum exec time is initialized to Zero but is never updated propertly to reflect the
true minimum measured query time.
This should be easy to fix: Either set the MinTime = Long.MAX_VALUE , or, set the
MinTime=CurrentQueryTime only for the first measurement sample.
Here's some sample output:
A portable JSP for dumping the hibernate statistics is provided. You will need to edit the
ObjectName to reflect the name of the Hibernate
statistics JMX Object in your implementation.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira