all are virtual.
here is the snippet: http://dblendea.pastebin.com/f1d9caf00

i tried to run within a SessionScope, however i got a no session/proxy
exception.

On Aug 5, 11:40 pm, Markus Zywitza <[email protected]> wrote:
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to