title: javax.persistence.NamedQuery is not a repeatable annotation type
body: <p>Normally in <code>Java</code> 8 the <code>@NamedQuery</code> is repeatable. </p>
  
  <p>Nevertheless when I compile I have the error:</p>
  
  <pre><code>javax.persistence.NamedQuery is not a repeatable annotation type
  </code></pre>
  
  <p>Here is my source code:</p>
  
  <pre><code>@NamedQuery(name = "listDocumentsByStatus", query = "FROM Document d WHERE    d.status = :STATUS ")
  @NamedQuery(name = "listDocumentsByNameAndType", query = "FROM Document d WHERE d.type = :TYPE AND UPPER(d.name) LIKE :NAME ")
  public abstract class Document implements Serializable {
  ...
  }
  </code></pre>
  
  <p>Do I misunderstood someething?</p>