Avoid useless branches during HQL parsing when trace logging is disabled
------------------------------------------------------------------------
Key: HHH-5843
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5843
Project: Hibernate Core
Issue Type: Improvement
Components: query-hql
Reporter: Sanne Grinovero
Assignee: Sanne Grinovero
Priority: Minor
Fix For: 4.0.0.Alpha1
Many nicely decorated and indented Strings are built up for each element of a parsed HQL
string (for each tree node) with the only purpose of feeding some log.trace() invocations,
to dump a graphical representation of the parsed tree. Avoiding this is easy.
--
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