Search code examples
hyperjaxb

How can I get hyperjaxb3 to generate specific JPA tags?


I'm trying to get hyperjaxb3 to generate specific tags like @Index, but I've been unable to find documentation or examples on how to achieve this. Any pointers or suggestions would be highly appreciated.

Thanks

Frederik


Solution

  • @Index is not a JPA annotation, it's a vendor-specific annotation. You can still add such annotations to the schema-derived classes using the annotate plugin. See this wiki entry for example.