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[]extensionsVendor extensions.java.lang.StringfetchPlanThe name of the fetch plan used by this queryjava.lang.StringlanguageThe query languagejava.lang.ClassresultClassResult class into which to put the results.java.lang.StringuniqueWhether the query returns a single unique result.java.lang.StringunmodifiableWhether the query is unmodifiable.
-
-
-
-
extensions
Extension[] extensions
Vendor extensions.- Returns:
- the vendor extensions
- Default:
- {}
-
-