<div>Hi,</div>
<div>I realized that the Hibernate Statistics lack a few things in my opinion. </div>
<div>&nbsp;</div>
<div>There are for example:</div>
<div>a) There is a bug in QueryStatisticsImpl that prevents the minTime from being computed properly (HHH-2948)</div>
<div>&nbsp;</div>
<div>b) Critera Queries are not part of the Query Statistics. This gives an incomplete &quot;picture&quot; to the user. Maybe it is just a naming issue and this should be called &quot;HqlStatistics&quot; but &quot;QueryStatistics&quot; sound to me that Criteria Queries are&nbsp;conained in there. Fixing this should not be too hard.
</div>
<div>&nbsp;</div>
<div>c) I came across some NPEs while trying to get the contents of a Cache Region that got invalidated (I need to dig deeper into this in order to be able to provide more detail)</div>
<div>&nbsp;</div>
<div>I would step up and help solving some issues around the statistics if desired.</div>
<div>&nbsp;</div>
<div>Regars,</div>
<div>Mike</div>
<div>&nbsp;</div>