ObjectDB ObjectDB

Internal Website Search

101-110 of 200 resultsRefresh

Threading Problem (maybe with Criteria)

would a ConcurrentLinkedHashMap). FETCH thread nr (36) count: 982 UIDs in 26 msek FETCH thread nr (41) count: 982 UIDs in 29 msek FETCH thread nr (44) count: 982 UIDs in 14 msek FETCH thread nr (39) count: 982 UIDs in 25 msek FETCH thread nr (42) count: 982 UIDs in 31 msek FETCH thread nr (40) count

General Performance Issues Illustrated with a Specific Method

(cascade = CascadeType.ALL,fetch = FetchType.EAGER) private Person person; @Index ... */ @ManyToOne(fetch = FetchType.LAZY) private WebUser createdBy; @Temporal(javax.persistence ... ) private Date createdOn; @ManyToOne(fetch = FetchType.LAZY) private Institution

Performance issues on aggregate query

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


() Get the fetch plan associated with this Extent. Get the fetch plan associated with this Extent. Returns: the fetch plan Since: JDO 2.0 PersistenceManager getPersistenceManager() An Extent is managed by


) and the active fetch groups determine the scope of fetching for the graph of instances reachable from ... instances must either be in the default-fetch-group, or in the current custom FetchPlan. Parameters: pcs


of the fetch plan used by this query The name of the fetch plan used by this query Returns: the fetch plan


Method javax.jdo.FetchPlan int getMaxFetchDepth() Return the maximum fetch depth used when fetching instances. Returns: the maximum fetch depth Since: JDO 2.0


Annotation Element javax.jdo.annotations.FetchPlan String[] fetchGroups The fetch groups in this fetch plan. Returns: the fetch groups Default value: {} Since: JDO 2.1


Static Field javax.jdo.FetchGroup String ALL For use with addCategory and removeCategory calls. This category includes all members in the persistent type. Using this category also sets the fetch-depth for the members in the default fetch group. Since: JDO 2.2

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

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