## javax.persistence
Annotation Type NamedQuery

    @Target(value=TYPE)
    @Retention(value=RUNTIME)
    public @interface NamedQuery

Required Element Summary
`java.lang.String` `name`
`java.lang.String` `query`

Optional Element Summary
`QueryHint[]` `hints`
`LockModeType` `lockMode`

Element Detail

### name

    public abstract java.lang.String name

### query

    public abstract java.lang.String query

### lockMode

    public abstract LockModeType lockMode

  Default:
    javax.persistence.LockModeType.NONE

### hints

    public abstract QueryHint[] hints

  Default:
    {}