Re: [hibernate-dev] Slight change in the way Search is auto-registered by Annotations

2010-02-03 Thread Sanne Grinovero
I don't care about who auto-registers it, Annotations is fine, core will probably do too; I just ask to make sure it's instantiated and initialized only once and then registered to each event using the same FullTextIndexEventListener instance. When using org.hibernate.search.event.EventListenerReg

Re: [hibernate-dev] Slight change in the way Search is auto-registered by Annotations

2010-02-03 Thread Emmanuel Bernard
So what you want is essentially to move the registering code from annotations to core, right? On 2 févr. 2010, at 14:34, Sanne Grinovero wrote: > right it's a separate concern, so I'll change the subject, but it > would still be very nice to change this before the release of > Hiberante Core 3.5

[hibernate-dev] Slight change in the way Search is auto-registered by Annotations

2010-02-02 Thread Sanne Grinovero
right it's a separate concern, so I'll change the subject, but it would still be very nice to change this before the release of Hiberante Core 3.5 so we can finally remove this Contextholder and cleanup that part. If you do it later we need to keep it around to be compatible.. but as you're breakin