uCosminexus Application Server, API Reference Guide
This annotation specifies a named query of JPQL. This annotation can be applied to an entity class and mapped superclass.
The applicable target is class.
The following table lists the elements of @NamedQuery:
| Element name | Optional/Required | Element description |
|---|---|---|
| name | Required | This element specifies the name of the named query. |
| query | Required | This element specifies the query string of JPQL. |
| hints | Optional | This element specifies an array of @QueryHint. |
The details of attributes that are supported with Cosminexus JPA provider are as follows:
All Rights Reserved. Copyright (C) 2012, 2013, Hitachi, Ltd.