You should call Session.Refresh on the entity. RP
On Tuesday, May 6, 2014 4:03:13 PM UTC+1, Atilla İlhan KARTAL wrote: > > Dear All; > > We use nhibernate for one of our project. If one of user had changed any > value on database to other active user can not see changed values > immediately. Calling Session.Clear() method is the only solution found to > fix this problem. However after calling Session.Clear() we get the > following exception message . > > Initializing[Proposal#28928]-failed to lazily initialize a collection of > role: Proposal.CostDistributions, no session or session was closed > > After googling we can not find any appropriate solution. That's why we > send this message for your information. > > > Best Regards > -- --- You received this message because you are subscribed to the Google Groups "nhibernate-development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
