ObjectDB ObjectDB

retrieveAll(pcs, useFetchPlan) - JDO PersistenceManager's method

Method
javax.jdo.PersistenceManager
void retrieveAll(
  Collection pcs,
  boolean useFetchPlan
)

Retrieve field values of instances from the store. This tells the PersistenceManager that the application intends to use the instances, and their field values should be retrieved. The fields in the current fetch group must be retrieved, and the implementation might retrieve more fields than the current fetch group.

If the useFetchPlan parameter is false, this method behaves exactly as the corresponding method without the useFetchPlan parameter. If the useFetchPlan parameter is true, and the fetch plan has not been modified from its default setting, all fields in the current fetch plan are fetched, and other fields might be fetched lazily by the implementation. If the useFetchPlan parameter is true, and the fetch plan has been changed from its default setting, then the fields specified by the fetch plan are loaded, along with related instances specified by the fetch plan.

Parameters:
pcs - the instances
useFetchPlan - whether to use the current fetch plan to determine which fields to load and which instances to retrieve.
Since:
JDO 1.0.1