Home » Search

About fetch

71-80 of 200Refresh
JPA Doc
9

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
8

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

getFetchSize()

Method javax.jdo.FetchPlan int getFetchSize() Return the fetch size, or FETCH_SIZE_OPTIMAL if not set, or FETCH_SIZE_GREEDY to fetch all. Returns: the fetch size Since: JDO 2.0
JPA Doc
7

javax.persistence.Basic

protected String name; Example 2: @Basic(fetch=LAZY) protected String getName() { return name; } Since: JPA 1.0 FetchType fetch (Optional) Defines whether the value of the field or property should be lazily loaded or must be eagerly fetched. (Optional) Defines whether the value of the field or
JDO Doc
6

FetchGroup.DEFAULT

. This category includes members defined in the default fetch group in xml or annotations. Redefining the default fetch group via the API does not affect the members defined by this category. Using this category also sets the fetch-depth for the members in the default fetch group. Since: JDO 2.2
JPA Doc
6

getFetches()

Method javax.persistence.criteria.FetchParent Set<Fetch> getFetches() Return the fetch joins that have been made from this type. Returns empty set if no fetch joins have been made from this type. Modifications to the set do not affect the query. Returns: fetch joins made from this type Since: JPA 2.0
JDO Doc
6

javax.jdo.annotations.FetchGroups

javax.jdo.annotations Annotation FetchGroups Target: Classes Annotation for a group of fetch-group objects Since: JDO 2.1 FetchGroup[] value The Fetch Groups The Fetch Groups Returns: The Fetch Groups Since: JDO 2.1