Annotation Type Query
Annotation for a named query.
Corresponds to the xml element "query".
- Since:
- 2.1
- Version:
- 2.1
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionVendor extensions.The name of the fetch plan used by this queryThe query languageResult class into which to put the results.Whether the query returns a single unique result.Whether the query is unmodifiable.
-
Element Details
-
name
-
value
-
language
-
unmodifiable
String unmodifiableWhether the query is unmodifiable.- Returns:
- whether the query is unmodifiable
- Default:
""
-
unique
String uniqueWhether the query returns a single unique result.- Returns:
- whether the query returns a single unique result
- Default:
""
-
resultClass
Class resultClassResult class into which to put the results.- Returns:
- the class of the result
- Default:
void.class
-
fetchPlan
-
extensions
-