Package javax.jdo.annotations
Annotation Type Query
-
@Target(TYPE) @Retention(RUNTIME) @Repeatable(Queries.class) public @interface Query
Annotation for a named query. Corresponds to the xml element "query".- Since:
- 2.1
- Version:
- 2.1
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description Extension[]
extensions
Vendor extensions.java.lang.String
fetchPlan
The name of the fetch plan used by this queryjava.lang.String
language
The query languagejava.lang.Class
resultClass
Result class into which to put the results.java.lang.String
unique
Whether the query returns a single unique result.java.lang.String
unmodifiable
Whether the query is unmodifiable.
-
-
-
-
extensions
Extension[] extensions
Vendor extensions.- Returns:
- the vendor extensions
- Default:
- {}
-
-