On 20 Jan 2013, at 6:22 PM, Guillaume Smet <guillaume.s...@gmail.com> wrote:

> Hi,
> 
> We would like to declare our global @AnalyzerDefs on a class which
> isn't a specific entity.
> 
> For the @TypeDefs of Hibernate, we do it by declaring the @TypeDefs on
> a class annotated with @MappedSuperClass but with @AnalyzerDefs, we
> are forced to declare them on a concrete @Entity.

On an @Entity? Don't you mean @Indexed?
@Entity is a JPA annotation and @AnalyzerDefs is Hibernate Search annotation.
We don't process (except @Id) JPA annotations in Search.

--Hardy

_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Reply via email to