From: cremor (JIRA) <nh...@gm...> - 2011-06-20 11:33:08
|
ProxyObjectReference creates a new ProxyFactory for each deserialization which disables proxy caching ----------------------------------------------------------------------------------------------------- Key: NH-2773 URL: http://216.121.112.228/browse/NH-2773 Project: NHibernate Issue Type: Bug Components: ByteCode providers Affects Versions: 3.2.0Beta1 Reporter: cremor Priority: Major If you deserialize a session which contains references to proxies a new ProxyFactory (and thus ProxyCache) is created for each reference which results in a new proxy assembly and module for each reference. I think this class should also use the static ProxyFactory field of the DefaultProxyFactory so the cache is correctly used. A test for this assumption is attached. -- 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 |