ObjectDB ObjectDB

Internal Website Search

91-100 of 200 resultsRefresh


javax.persistence Annotation IdClass Target: Classes Specifies a composite primary key class that is mapped to multiple fields or properties of the entity. The names of the fields or properties in the primary key class and the primary key fields or properties of the entity must correspond


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 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


. The EntityTransaction instance may be used serially to begin and commit multiple transactions. Returns


map value. To override mappings at multiple levels of embedding, a dot (".") notation form

getObjectById(oid, validate)

class. This will be the case of inheritance, where multiple PersistenceCapable classes share the same


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


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


Annotation Element javax.jdo.annotations.Joins Join[] value The join definitions used for the mapping of this type. Joins for secondary tables are usually defined at the type level and not the field or property level. This allows multiple fields and properties to share the same join definition


Method javax.jdo.Query void setExtensions( Map extensions ) Set multiple extensions, or use null to clear all extensions. Map keys and values are not standard. An implementation must ignore entries that are not recognized. Parameters: extensions - the map of extensions Since: JDO 2.0 See Also: addExtension

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