Re: [hibernate-dev] Mass indexer and lazy initialization exceptions S03E04

2014-01-14 Thread Guillaume Smet
On Tue, Jan 14, 2014 at 12:11 AM, Sanne Grinovero sa...@hibernate.org wrote: Of course I'm ok with that. If any I was under the impression you needed a solution urgently; if that's the case, be aware I suspect this could be a trivial change. It's for a sort on a table (but an important one) so

Re: [hibernate-dev] Mass indexer and lazy initialization exceptions S03E04

2014-01-13 Thread Guillaume Smet
Hi Sanne, On Mon, Jan 13, 2014 at 1:06 AM, Sanne Grinovero sa...@hibernate.org wrote: Then, you can remove all the previous workarounds too: given we'd be removing the re-attach processing and all the proxy re-attaching code, it might even win you something in performance.. I don't know that

Re: [hibernate-dev] Mass indexer and lazy initialization exceptions S03E04

2014-01-13 Thread Sanne Grinovero
On 13 January 2014 11:01, Guillaume Smet guillaume.s...@gmail.com wrote: Hi Sanne, On Mon, Jan 13, 2014 at 1:06 AM, Sanne Grinovero sa...@hibernate.org wrote: Then, you can remove all the previous workarounds too: given we'd be removing the re-attach processing and all the proxy re-attaching

Re: [hibernate-dev] Mass indexer and lazy initialization exceptions S03E04

2014-01-12 Thread Sanne Grinovero
Hi Guillaume, sorry I wanted to POC the following idea before replying, but couldn't get to it yet, so rather than keeping you in the dark for longer I'll share the idea: maybe you can try it yourself? What you could try is to merge the second and first phases of the MassIndexer into a single

[hibernate-dev] Mass indexer and lazy initialization exceptions S03E04

2014-01-08 Thread Guillaume Smet
Hi all, It's been quite a long time since I came up with lazy initialization problems in the mass indexer for the last time. Unfortunately, this time, I don't see exactly how to fix this one and I would like to ask for your advice about it. The problem is quite simple: I want to index the

Re: [hibernate-dev] Mass indexer and lazy initialization exceptions S03E04

2014-01-08 Thread Sanne Grinovero
Hi Guillaume, would you agree this looks like similar to HSEARCH-1260 ? I'd like to step back a moment and re-evaluate how we faced all these lazyinitialization issues. As far as I remember, you and your team reported (and helped fixing!) a depressingly long list of issues since approximately

Re: [hibernate-dev] Mass indexer and lazy initialization exceptions S03E04

2014-01-08 Thread Guillaume Smet
Hi Sanne, On Wed, Jan 8, 2014 at 1:43 PM, Sanne Grinovero sa...@hibernate.org wrote: As far as I remember, you and your team reported (and helped fixing!) a depressingly long list of issues since approximately the migration to Hibernate ORM 4 of your applications (adopting AFAIR early betas of