Hi, I am getting this error when saving entity. This problem pops up only when I have a PreUpdateEventListener registered with session factory. In this event listener, I need to navigate the object graph, and it may or may not lazy load collections in the parent. I am doing some serialization of the object graph but there will be no changes to the state of the collections, they will just be loaded. Is there a workaround for the issue?
collection [dnnSphere.Meta.Model.MetaProject.MetaPackages] was not processed by flush() [AssertionFailure: collection [dnnSphere.Meta.Model.MetaProject.MetaPackages] was not processed by flush()] NHibernate.Engine.CollectionEntry.PostFlush(IPersistentCollection collection) +163 NHibernate.Event.Default.AbstractFlushingEventListener.PostFlush (ISessionImplementor session) +516 NHibernate.Event.Default.DefaultFlushEventListener.OnFlush (FlushEvent event) +112 NHibernate.Impl.SessionImpl.Flush() +296 NHibernate.Transaction.AdoTransaction.Commit() +197 dnnSphere.Meta.Persistence.GenericDao.Save(T entity) in C:\Software \SharpMod\trunk\src\Meta\dnnSphere.Meta\Persistence\GenericDao.cs:174 -- 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.
