that is another bug... you should have "field-interception" with lazy="no-proxy" where lazy="proxy" should work as before
2010/1/29 Johannes Gustafsson <[email protected]> > Hi, > > First of all, I want to thank Ayende for implementing lazy loaded > properties, it's a great feature that i look forward to use. > > However, I found some problems with it, and I have created 3 jira tickets > for them (2 of them with proposed fixes): > > http://nhjira.koah.net/browse/NH-2092 > http://nhjira.koah.net/browse/NH-2093 > http://nhjira.koah.net/browse/NH-2094 > > Now, the real problem is that i didn't really want to use this new > functionality right away, I just ran into these problems simply by updating > to the latest trunk. I have an entity like this: > > <class name="Employee"> > <id name="Id"/> > <property name="Name"></property> > > <one-to-one name="Person" constrained="true" lazy="proxy"/> > </class> > > This has worked well before using the regular proxy, but now when I use > session.Get<Person>() i get a FieldInterceptingProxy instead, which I > neither want or need. Is there a quick way to switch back to the regular > proxy while still using the latest trunk? > > Regards, > > /Johannes > > -- > 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]<nhusers%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/nhusers?hl=en. > -- 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.
