title: How does the @Index annotation work in JPA 2.1?
body: <p>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. </p>
  
  <p>When I'am trying:</p>
  
  <pre><code>@Index(columnList = "firstName")
  private String firstName;
  </code></pre>
  
  <p>.. then Eclipse says: "The annotation @Index is disallowed for this location"</p>
  
  <p>Does anyone know how to use it? Or has found the documentation for it? :-)</p>
  
  <p>Thanks for any suggestions!</p>