[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-5469) HHH-3659 is only half done, due to HHH-4989 (i.e. no HQL performance log when running Java 5)
Steve Ebersole (JIRA)
noreply at atlassian.com
Wed Aug 18 13:08:41 EDT 2010
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Ebersole closed HHH-5469.
-------------------------------
Resolution: Fixed
> HHH-3659 is only half done, due to HHH-4989 (i.e. no HQL performance log when running Java 5)
> ---------------------------------------------------------------------------------------------
>
> Key: HHH-5469
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5469
> Project: Hibernate Core
> Issue Type: Bug
> Components: core
> Affects Versions: 3.5.4, 3.6.0.Beta1
> Reporter: Cédrik LIME
> Assignee: Steve Ebersole
> Priority: Trivial
> Fix For: 3.6.0.Beta3, 3.5.5
>
> Original Estimate: 1h
> Time Spent: 0.45h
> Remaining Estimate: 0.55h
>
> HHH-3659 introduced a well-deserved HQL execution time log, which is good.
> Unfortunately, HHH-4989 (Java 5 concurrent for statistics) didn't pick up those changes, so no execution time logs when running Java 5.
> To fix, add the same log statement to {{ConcurrentStatisticsImpl#queryExecuted(String hql, int rows, long time)}}:
> {code:java}
> log.info("HQL: {}, time: {}ms, rows: {}", new Object[]{hql, new Long(time), Long.valueOf(rows)});
> {code}
> May I also suggest that we change this particular logger from whichever implementation class du jour to a {{org.hibernate.performance}} logger.
--
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