From: Fabio M. (JIRA) <nh...@gm...> - 2011-05-02 14:27:46
|
[ http://216.121.112.228/browse/NH-2685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fabio Maulo resolved NH-2685. ----------------------------- Resolution: Fixed Fix Version/s: 3.2.0Alpha3 > 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.1.0, 3.2.0Alpha1, 3.2.0Alpha2 > Reporter: Marc Gerritsen > Priority: Minor > Fix For: 3.2.0Alpha3 > > 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 |