[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3452?page=c...
]
Chuck May commented on HHH-3452:
--------------------------------
I realize this is a very old issue, but I recently found out about t his limitation of
statistics. I total agree it gives a very inaccurate picture when looking at total
statistics. In addition, while getQueries() does NOT include Criteria queries,
getQueryExecutionCount() does. That make it even more strange and is how I noticed this
bug in the first place since when I printed out the statistics the executions for each
query didn't add up to the total.
Since each criteria would need a String to be references by, could the raw SQL be used?
Statistics for Criteria Queries
-------------------------------
Key: HHH-3452
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3452
Project: Hibernate Core
Issue Type: New Feature
Components: query-criteria
Reporter: Rohit N
Priority: Blocker
Original Estimate: 40h
Remaining Estimate: 40h
Criteria Queries are not part of the Query Statistics. This gives an incomplete
"picture" to the user.
Currently, the Statistics is only for HQL queries.
--
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