Lazy false should only be used in edge cases. I would solve the problem, by not sharing entities across sessions, that may be a large architecture change which you can't make. In that case detaching is the way to go. I haven't ever needed that feature, but I know evict is not it. Evict simply removes the entity from the Identity Map. It does not detach the proxies.
On Dec 21, 5:23 am, Giulio Petrucci <[email protected]> wrote: > Hi there, > > On Mon, Dec 20, 2010 at 1:29 PM, Giulio Petrucci<[email protected]> > wrote: > > Hello everybody, > > [cut] > > I (kinda) solved the problem forcing @lazy="false" on the class mapping. > > Thanks, > Giulio > > -- -- 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.
