|
From: Marc G. (JIRA) <nh...@gm...> - 2011-05-02 08:28:47
|
Unnecessary proxy initialisation in CriteriaQueryTranslator
-----------------------------------------------------------
Key: NH-2685
URL: http://216.121.112.228/browse/NH-2685
Project: NHibernate
Issue Type: Bug
Components: Core
Affects Versions: 3.2.0Alpha2, 3.2.0Alpha1, 3.1.0
Reporter: Marc Gerritsen
Priority: Minor
Attachments: Unnecessary proxy initialisation in CriteriaQueryTranslator.patch
For the construction of a debug string the ToString method is called on a proxy.
This initializes the proxy unnecessary.
To make sure this does not happen anymore i wrapped the logger lines with if (logger.IsDebugEnabled).
I attached the patch I created to fix the bug.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|