retrieve(pc, useFetchPlan) - JDO PersistenceManager's method
PersistenceManagerthat the application intends to use the instance, and its field values must be retrieved.
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.
pc- the instance
useFetchPlan- whether to use the current fetch plan to determine which fields to load and which instances to retrieve.
- JDO 2.0