ObjectDB ObjectDB

Internal Website Search

101-110 of 200 resultsRefresh


javax.persistence Annotation OneToMany Target: Fields (including property get methods) Defines a many-valued association with one-to-many multiplicity. If the collection is defined using generics to specify the element type, the associated target entity type need not be specified


Method javax.persistence.EntityManager EntityTransaction getTransaction() Return the resource-level EntityTransaction object. The EntityTransaction instance may be used serially to begin and commit multiple transactions. Returns: EntityTransaction instance Throws: IllegalStateException - if invoked on a JTA entity manager Since: JPA 1.0


javax.persistence Annotation AttributeOverrides Target: Classes and fields (including property get methods) Used to override mappings of multiple properties or fields. Example: @Embedded @AttributeOverrides({ @AttributeOverride(name="startDate


javax.persistence Annotation OneToOne Target: Fields (including property get methods) When using ObjectDB - this annotation is optional. Defines a single-valued association to another entity that has one-to-one multiplicity. It is not normally necessary to specify the associated target entity


and not the field or property level. This allows multiple fields and properties to share the same join


Method javax.jdo.PersistenceManager void setMultithreaded( boolean flag ) Set the Multithreaded flag for this PersistenceManager. Applications that use multiple threads to invoke methods or access fields from instances managed by this PersistenceManager must set this flag to true. Instances managed

addSubquery(sub, variableDeclaration, candidateCollectionExpression, parameters)

is used to add multiple subqueries, the subquery replaces the previous subquery for the same named

getPersistenceManagerFactory(overrides, name, resourceLoader, pmfLoader)

a JDOFatalUserException. If multiple PMFs with the requested name are found, a JDOFatalUserException is thrown


PersistenceCapable instance contains a reference to a StateManager. A StateManager might manage one or multiple


. This allows unambiguous identification of the field to be marked dirty. If multiple classes declare the same

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