users@jaxb.java.net

Re: Please Help (hibernate annotations in schema classes..)

From: Aleksei Valikov <valikov_at_gmx.net>
Date: Sun, 10 Jan 2010 09:09:36 +0100

Hi,

> But when I do provide other attributes like index, store, It gives me
> [ERROR] Error parsing annotation.
>
>                  <annox:annotate >
> (======> error at this line)
>                             <annox:annotate
> annox:class="org.hibernate.search.annotations.Field"
>                                 name="Kiran"
> index="org.hibernate.search.annotations.Index.UN_TOKENIZED"/>
>                   </annox:annotate>

Just write UN_TOKENIZED. Enums must be written unqualified.

Bye.
/lexi