javax.persistence

## Annotation Type NamedQuery

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

### Required Element Summary

Required Elements
`String` `name`
`String` `query`

### Optional Element Summary

Optional Elements
`QueryHint[]` `hints`
`LockModeType` `lockMode`

### Element Detail

#### name

    public abstract String name

#### query

    public abstract String query

#### lockMode

    public abstract LockModeType lockMode

Default:
  javax.persistence.LockModeType.NONE

#### hints

    public abstract QueryHint[] hints

Default:
  {}