Re: [hibernate-dev] HSEARCH-1225

2012-10-22 Thread Hardy Ferentschik
Hi, I have always been of the opinion that FullTextSession#index should also apply the interceptor. At the very least there should be an easy way use the interceptor via the index API. On 21 Jan 2012, at 10:25 PM, Sanne Grinovero wrote: > Today, this method is ignoring the conditional indexi

Re: [hibernate-dev] HSEARCH-1225

2012-10-22 Thread Sanne Grinovero
Hi Hardy, if we added such a method to the FulltextSession, how should it invoke the interceptor? Sanne On 22 October 2012 08:57, Hardy Ferentschik wrote: > Hi, > > I have always been of the opinion that FullTextSession#index should also > apply the interceptor. > At the very least there shou

Re: [hibernate-dev] HSEARCH-1225

2012-10-22 Thread Hardy Ferentschik
I haven't looked at this. I was just arguing form a user facing API and there I would expect it the day I described. How we implement this is an internal thing. --Hardy On 22 Jan 2012, at 10:24 AM, Sanne Grinovero wrote: > Hi Hardy, > if we added such a method to the FulltextSession, how s

Re: [hibernate-dev] HSEARCH-1225

2012-10-22 Thread Sanne Grinovero
As a user I need to implement the interceptor so to understand how to do that I would need to know how such a method is going to interact with the interceptor. At the very least we need to define which of its method is going to be invoked and I think both ADD and REMOVE are confusing, at least as

[hibernate-dev] New feature: Configuring “hibernate.hbm2ddl.auto” at entity level?

2012-10-22 Thread Julien Martin
Hello, I currently use the hibernate.hbm2ddl.auto property with a value of create. While this setting is very convenient for some entities, I also have an entity that is not going to change (i.e. reference data such as postcodes) and that contains some data that I would like to keep across restar