javax.jdo.annotations.FetchPlan - JDO annotation
javax.jdo.annotations
Annotation FetchPlan
- Target:
- Classes
Annotation for the fetch plan of a persistence manager, query, or extent. Corresponds to the xml element "fetch-plan".
- Since:
- JDO 2.1
String[] fetchGroups
The fetch groups in this fetch plan.
- Returns:
- the fetch groups
- Default value:
- {}
- Since:
- JDO 2.1
int fetchSize
The number of instances of multi-valued fields retrieved by queries.
- Returns:
- the fetch size
- Default value:
- 0
- Since:
- JDO 2.1
int maxFetchDepth
The depth of references to instantiate, starting with the root object.
- Returns:
- the maxium fetch depth
- Default value:
- 1
- Since:
- JDO 2.1
String name
Name of the fetch plan.
- Returns:
- the name of the fetch plan
- Default value:
- ""
- Since:
- JDO 2.1