Yeah, you don't want to do that. You need, as Fabio said, a session-per-conversation. Look at unit of work too.
On Sat, Mar 14, 2009 at 5:11 PM, Fabio Maulo <[email protected]> wrote: > session-per-conversation. > > 2009/3/14 [email protected] <[email protected]> > >> >> hi there, >> i'm doing something like wizard to edit big object >> so i retrieve the object using NHibernate and save my Object to >> ASP.Net Session , keep updating it as user move forward in the >> wizard , then save it in the last step of the wizard but i'm getting >> the following error >> "Illegal attempt to associate a collection with two open sessions" >> how can i work around this error ? >> >> >> >> > > > -- > 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 -~----------~----~----~----~------~----~------~--~---
