JPA Annotations for JPQL Queries
The following annotations are used to define static named JPA queries:
- javax.persistence.NamedQueries - JPA Annotation
- javax.persistence.NamedQuery - JPA Annotation
- javax.persistence.QueryHint - JPA Annotation
The JPA Named Queries section of the ObjectDB Manual explains and demonstrates how to use these annotations to define named JPQL queries.