[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-3659) statistics: Execution time of a query

Markus Merder (JIRA) noreply at atlassian.com
Wed Jan 28 11:48:38 EST 2009


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Markus Merder updated HHH-3659:
-------------------------------

    Attachment: HHH-3659 StatisticsImpl.patch

I attached a patch, which logs the execution time of hql queries. You can turn that on by enabling statistics and set log level of org.hibernate.stat.StatisticsImpl to INFO.

> statistics: Execution time of a query
> -------------------------------------
>
>                 Key: HHH-3659
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3659
>             Project: Hibernate Core
>          Issue Type: New Feature
>          Components: query-hql, query-sql
>    Affects Versions: 3.3.1
>            Reporter: Anthony Patricio
>            Priority: Trivial
>         Attachments: HHH-3659 StatisticsImpl.patch
>
>
> Currently we have min, average and max execution time.
> Could be useful to log each query execution time.

-- 
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