Hi,
I realized that the Hibernate Statistics lack a few things in my opinion.
There are for example:
a) There is a bug in QueryStatisticsImpl that prevents the minTime from
being computed properly (HHH-2948)
b) Critera Queries are not part of the Query Statistics. This gives an
incomplete "picture" to the user. Maybe it is just a naming issue and this
should be called "HqlStatistics" but "QueryStatistics" sound to me
that
Criteria Queries are conained in there. Fixing this should not be too hard.
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)
I would step up and help solving some issues around the statistics if
desired.
Regars,
Mike