ObjectDB ObjectDB

Internal Website Search

81-90 of 200 resultsRefresh
7

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
5

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
4

getFetches()

Method javax.persistence.criteria.FetchParent Set<Fetch<X,?>> 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
0

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
0

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
0

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
0

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
0

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
0

setMaxFetchDepth(fetchDepth)

Method javax.jdo.FetchPlan FetchPlan setMaxFetchDepth( int fetchDepth ) Set the maximum fetch depth when fetching. A value of 0 has no meaning and will throw a JDOUserException. A value of -1 means that no limit is placed on fetching. A positive integer will result in that number of references from
0

setFetchSize(fetchSize)

Method javax.jdo.FetchPlan FetchPlan setFetchSize( int fetchSize ) Set the fetch size for large result set support. Use FETCH_SIZE_OPTIMAL to unset, and FETCH_SIZE_GREEDY to force loading of everything. Parameters: fetchSize - the fetch size Returns: the FetchPlan Since: JDO 2.0

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support