Re: [hibernate-dev] [Search] Lazy initialization vs HSearch - Round 4

2012-12-10 Thread Guillaume Smet
On Mon, Dec 10, 2012 at 9:07 PM, Guillaume Smet wrote: > On Mon, Dec 10, 2012 at 8:27 PM, Guillaume Smet > wrote: >> Is it transactionally safe? > > From what I read, it's not. > > Do you see any way to get this type of pattern working in a > transactionally safe way? Hmmm, just handwaving at th

Re: [hibernate-dev] [Search] Lazy initialization vs HSearch - Round 4

2012-12-10 Thread Guillaume Smet
On Mon, Dec 10, 2012 at 8:27 PM, Guillaume Smet wrote: > Is it transactionally safe? >From what I read, it's not. Do you see any way to get this type of pattern working in a transactionally safe way? -- Guillaume ___ hibernate-dev mailing list hibern

Re: [hibernate-dev] [Search] Lazy initialization vs HSearch - Round 4

2012-12-10 Thread Guillaume Smet
Hi Sanne, On Mon, Dec 10, 2012 at 7:49 PM, Sanne Grinovero wrote: > did you try to flush indexes before clearing the session? > > fullTextSession.flushToIndexes(); > fullTextSession.clear(); Hmmm, no, we didn't. That's probably what we missed... Is it transactionally safe? Thanks for y

Re: [hibernate-dev] [Search] Lazy initialization vs HSearch - Round 4

2012-12-10 Thread Sanne Grinovero
Hi Guillaume, did you try to flush indexes before clearing the session? fullTextSession.flushToIndexes(); fullTextSession.clear(); Sanne On 10 December 2012 18:41, Guillaume Smet wrote: > Hi, > > Well, this time, I'm not sure we will be able to win the round by > ourselves so I'm asking

[hibernate-dev] [Search] Lazy initialization vs HSearch - Round 4

2012-12-10 Thread Guillaume Smet
Hi, Well, this time, I'm not sure we will be able to win the round by ourselves so I'm asking for advice and guidance... Following our recent patch submissions on the subject, we have one problem left: when we're doing a mass import (note: this mass import is really part of the application so we

Re: [hibernate-dev] 4.1.9.Final release on 12/12/12?

2012-12-10 Thread Scott Marlow
I understand that we want to include the HHH-7435 change (upgrade Javassist to 3.17.1). When building with a Java 7 target, we are hitting HHH-7850 (as discussed on irc). I'm not sure if Dustin Schultz is going to fix HHH-7850 and if he will fix by 12/12/12. Dustin has a related fix for HHH-7