ObjectDB ObjectDB

Internal Website Search

111-120 of 200 resultsRefresh

significant performance decrease

; @OneToMany(fetch=FetchType.LAZY) public List<Action> actions = new ArrayList<Action>(); @OneToMany(fetch=FetchType.LAZY) public List<ObjectNode> childNodes = new ArrayList<ObjectNode>(); @OneToMany(fetch=FetchType.LAZY) public List<ObjectNode> container = new


Annotation Element javax.jdo.annotations.Persistent String loadFetchGroup Name of the fetch-group to use when this member is loaded due to being referenced when not already loaded. Returns: the name of the load fetch group Default value: "" Since: JDO 2.1

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


Annotation Element javax.jdo.annotations.FetchPlans FetchPlan[] value The Fetch Plans Returns: The Fetch Plans Since: JDO 2.1

getFetchGroup(cls, name)

the corresponding fetch group in the PersistenceManagerFactory. Parameters: cls - the class or interface for the FetchGroup name - the name of the fetch group Returns: the FetchGroup Throws: JDOUserException


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


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


Annotation Element javax.jdo.annotations.Query String fetchPlan The name of the fetch plan used by this query Returns: the fetch plan Default value: "" Since: JDO 2.1


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


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

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