Package javax.jdo.annotations
Annotation Type FetchPlan
Annotation for the fetch plan of a persistence manager, query, or extent.
Corresponds to the xml element "fetch-plan".
- Since:
- 2.1
- Version:
- 2.1
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionString[]
The fetch groups in this fetch plan.int
The number of instances of multi-valued fields retrieved by queries.int
The depth of references to instantiate, starting with the root object.Name of the fetch plan.
-
Element Details
-
name
String nameName of the fetch plan.- Returns:
- the name of the fetch plan
- Default:
""
-
fetchGroups
String[] fetchGroupsThe fetch groups in this fetch plan.- Returns:
- the fetch groups
- Default:
{}
-
maxFetchDepth
int maxFetchDepthThe depth of references to instantiate, starting with the root object.- Returns:
- the maxium fetch depth
- Default:
1
-
fetchSize
int fetchSizeThe number of instances of multi-valued fields retrieved by queries.- Returns:
- the fetch size
- Default:
0
-