About fetch

71-80 of 200Refresh
Manual
9

JPA Query Structure (JPQL / Criteria)

, array, tuple, construct). Criteria FROM (from, join, fetch). Criteria WHERE (where). Criteria
JPA Doc
9

JPA Annotations for Relationships

annotation enables configuring cascade and fetch policy, using the following enum types: Additional
JDO Doc
9

retrieveAll(pcs, useFetchPlan)

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
JDO Doc
9

retrieveAll(pcs, useFetchPlan)

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
JDO Doc
9

retrieveAll(useFetchPlan, pcs)

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
JPA Doc
8

javax.persistence.FetchType

> Defines strategies for fetching data from the database. The EAGER strategy is a requirement on the persistence provider runtime that data must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime that data should be fetched lazily when it is first accessed
JDO Doc
8

retrieve(pc, useFetchPlan)

. 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
JDO Doc
7

javax.jdo.spi.PersistenceCapable

to LOAD_REQUIRED, then the fields in the default fetch group cannot be accessed for read or write ... fetch group cannot be accessed for read or write without notifying the StateManager. Since: JDO 1.0 ... . Since: JDO 1.0 byte READ_OK If jdoFlags is set to READ_OK, then the fields in the default fetch group
JDO Doc
7

javax.jdo.PersistenceManagerFactory

addFetchGroups( FetchGroup... groups) Add the FetchGroups to the set of active fetch groups. Add the FetchGroups to the set of active fetch groups. FetchGroups are made unmodifiable before being added ... . Parameters: cls - the class or interface for the FetchGroup name - the name of the fetch group Returns
JDO Doc
7

javax.jdo.annotations.Persistent

: "" Since: JDO 2.1 String defaultFetchGroup Whether this member is in the default fetch group. Whether this member is in the default fetch group. Returns: whether this member is in the default fetch group ... : {} Since: JDO 2.1 String loadFetchGroup Name of the fetch-group to use when this member is loaded