I'am trying to test JPA's @Index annotation which is avaliable since 2.1. But I can't find the documention how to use it.
When I'am trying:
@Index(columnList = "firstName")
private String firstName;
.. then Eclipse says: "The annotation @Index is disallowed for this location"
Does anyone know how to use it? Or has found the documentation for it? :-)
Thanks for any suggestions!