I want to implement lucene based hibernate search in my assignment. For generating domain objects I am using HyperJaxb3.
I want @Indexed annotation to be added during domain object creation using HyperJaxb.
I tried googling for this, but unable to find solutions.
Any pointer in this regard will be of great help.
[Annotate plugin][1] is the right answer. See [this example][2].
This is how it looks in schema:
You can also use extra binding files (see the [example][2]).
[1]: BAD LINK
[2]: https://svn.java.net/svn/hj3~svn/trunk/ejb/tests/annox/