ObjectDB ObjectDB

Internal Website Search

111-120 of 200 resultsRefresh


, and except for string and character-based types defaults to Blob. Example 1: @Lob @Basic(fetch=LAZY) @Column(name="REPORT") protected String report; Example 2: @Lob @Basic(fetch=LAZY) @Column(name="EMP


may be lazily fetched. Get an instance, whose state may be lazily fetched. If the requested instance does


Annotation Element javax.jdo.annotations.FetchGroups FetchGroup[] value The Fetch Groups Returns: The Fetch Groups Since: JDO 2.1


Annotation Element javax.jdo.annotations.FetchPlan String name Name of the fetch plan. Returns: the name of the fetch plan Default value: "" Since: JDO 2.1


Method javax.jdo.Extent FetchPlan getFetchPlan() Get the fetch plan associated with this Extent. Returns: the fetch plan Since: JDO 2.0


Method javax.jdo.PersistenceManager Collection<T> detachCopyAll( Collection<T> pcs ) Detach the specified instances from the PersistenceManager. The flags for detachment (DETACH_LOAD_FIELDS and DETACH_UNLOAD_FIELDS) and the active fetch groups determine the scope of fetching for the graph


Method javax.jdo.PersistenceManagerFactory Set getFetchGroups() Get a modifiable Set containing a mutable copy of all currently active (in scope) fetch groups. The methods addFetchGroups ... of all currently active fetch groups Throws: SecurityException - if the caller is not authorized for JDOPermission ("getMetadata") Since: JDO 2.2

setRecursionDepth(memberName, recursionDepth)

Method javax.jdo.FetchGroup FetchGroup setRecursionDepth( String memberName, int recursionDepth ) Set the recursion-depth for this member. The default is 1. A value of 0 means don't fetch the member (as if the member were omitted entirely). A value of -1 means fetch all instances reachable


Method javax.jdo.FetchPlan Set getGroups() Return an immutable Set containing the names of all active fetch groups. The Set is a copy of the currently active groups and will not change based on subsequent changes to the groups. Returns: an immutable Set containing the names of all currently active fetch groups Since: JDO 2.0


Method javax.jdo.FetchPlan FetchPlan removeGroup( String fetchGroupName ) Remove the fetch group from the set active fetch groups. Parameters: fetchGroupName - 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