[hibernate-dev] Cascading Lock - or re-associating object graph to an open session

2011-02-22 Thread Sanne Grinovero
Hi all, I'm needing some advice about HSEARCH-689 - MassIndexer throwing LazyInitializationException on associated collections. MassIndexer design reminder: Search loads the root entity it needs to index via a Session A, attempting to initialize as less collections as possible, then it sends these

Re: [hibernate-dev] Cascading Lock - or re-associating object graph to an open session

2011-02-22 Thread Emmanuel Bernard
That's the expected behavior. A seems reasonable to me. Abstract it behind HibernateHelper calls. On Feb 22, 2011, at 5:08 PM, Sanne Grinovero wrote: > Hi all, > I'm needing some advice about HSEARCH-689 - MassIndexer throwing > LazyInitializationException on associated collections. > > MassInd