For sure is not terrible (for some reason it is a "warning" and not an "error" ;) ).To understand when and why we should see which the code running in a opened session and I'm pretty sure that it is not so easy to find where the same entity-proxy is requested for two different classes in the same hierarchy.
2009/6/25 Jan Limpens <[email protected]> > How does this happen? (I just get the warning, but don't actually know what > causes it, so I need to understand the context better) > Overall it does not seem as a very terrible thing... > > 2009/6/25 Fabio Maulo <[email protected]> > >> /// <summary> >> /// If the existing proxy is insufficiently "narrow" (derived), >> instantiate a new proxy >> /// and overwrite the registration of the old one. This breaks == and >> occurs only for >> /// "class" proxies rather than "interface" proxies. Also init the proxy >> to point to >> /// the given target implementation if necessary. >> /// </summary> >> /// <param name="proxy">The proxy instance to be narrowed. </param> >> /// <param name="persister">The persister for the proxied entity. </param> >> /// <param name="key">The internal cache key for the proxied entity. >> </param> >> /// <param name="obj">(optional) the actual proxied entity instance. >> </param> >> /// <returns> An appropriately narrowed instance. </returns> >> public object NarrowProxy(INHibernateProxy proxy, IEntityPersister >> persister, EntityKey key, object obj) >> >> >> 2009/6/25 Jan Limpens <[email protected]> >> >> I am getting this: >>> >>> 2009-06-25 16:20:46,030 [8] WARN >>> NHibernate.Engine.StatefulPersistenceContext.ProxyWarnLog - Narrowing proxy >>> to Fex.Businesslayer.ProductSet - this operation breaks == >>> >>> What does this mean? >>> >>> -- >>> Jan >>> >>> >>> >> >> >> -- >> Fabio Maulo >> >> >> >> > > > -- > Jan > > > > -- Fabio Maulo --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
