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.
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.
The number of instances of multi-valued fields retrieved by queries.
Returns:
the fetch size
Default value:
0
Since:
JDO 2.1
The depth of references to instantiate, starting with the root object.
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.
Name of the fetch plan.
Returns:
the name of the fetch plan
Default value:
""
Since:
JDO 2.1

This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.