Are all properties virtual? Do you use a SessionScope? -Markus
2009/8/5 bdaniel7 <[email protected]> > > Hi, > I have an Incident, which is [Lazy]. > Incident has an Address, which is also lazy. > > But sometimes, when I load a collection of Incident, and the filter > doesn't have an Address field, > and i try to check some address i get this LazyInitializationException > from NH. > > If i remove the [Lazy] from Address all goes well. > > Now, is it possible to force loading a lazy property/entity? > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Users" 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/castle-project-users?hl=en -~----------~----~----~----~------~----~------~--~---
