Okay, I understand: lazy properties are automatic properties. Question about the lazy properties:
In NH2.1 we had lazy references (many to one). Are those also now lazy properties? So only lazy if they are automatic? or is the behavior in NH3.2 the same as in NH2.1 Please checkout the other project that I posted to JIRA, concerning automatic lazy properties... On Sep 12, 10:41 am, Nexus <[email protected]> wrote: > As for the lazy properties path > seehttp://ayende.com/blog/4377/nhibernate-new-feature-lazy-properties > > "One last word of caution, this feature is implemented via property > interception (and not field interception, like in Hibernate). That was > a conscious decision, because we didn’t want to add a bytecode weaving > requirement to NHibernate. What this means is that if you mark a > property as lazy, it must be a virtual automatic property. If you > attempt to access the underlying field value, instead of going through > the property, you will circumvent the lazy loading of the property, > and may get unexpected results. " -- 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.
