ObjectDB ObjectDB

Internal Website Search

101-110 of 200 resultsRefresh


that contains the foreign key column. If the join is for a map key for an element collection, the foreign key column is in the collection table for the map value. If the join is for a map key ... key mapping strategy, the foreign key column for the map key is in the table of the entity


the map key for associations of type java.util.Map when the map key is itself the primary key or a persistent field or property of the entity that is the value of the map. If a persistent field or property other than the primary key is used as a map key then it is expected to have a uniqueness constraint

What are the main benefits of using ObjectDB?

the execution time of object oriented applications significantly. For instance, collection and map

JPA Annotations for Classes

JPA defines three types of persistable classes which are set by the following annotations: Chapter 2 of the ObjectDB manual explains these annotations in detail. Entity and mapped super classes can be further configured by annotations that specify cache preferences and lifecycle event listener

Deleting JPA Entity Objects

objects. Orphan removal can also be set for collection and map fields. For example: @Entity class

SELECT clause (JPQL / Criteria API)

clause. Collection and map fields cannot be included in the results directly, but their content

Entity Management Settings

, which is not an entity class, mapped super class or embeddable class). The <cascade-persist> element

Index Definition

; : } Indexes in Queries ObjectDB manages a BTree for every index. A BTree is an ordered map data


the type of the map key for associations of type java.util.Map. The map key can be a basic type, an embeddable class, or an entity. If the map is specified using Java generics, the MapKeyClass ... ; ... @ElementCollection(targetClass=String.class) @MapKeyClass(String.class) Map images


getMapping() Get the Mapping setting for this factory. Get the Mapping setting for this factory. This is used to find the object-datastore mapping file(s). Returns: the Mapping setting. Since: JDO 1.0 ... setMapping(String mapping) Set the Mapping setting for this factory. Set the Mapping setting

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