[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-3452) Statistics for Criteria Queries

Chuck May (JIRA) noreply at atlassian.com
Mon Apr 12 18:14:58 EDT 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=36402#action_36402 ] 

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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list