Fast Object Database for Java - with JPA/JDO support

Internal Website Search

131-140 of 200 resultsRefresh
5

jdoNewObjectIdInstance()

, this method must be called on an instance of a persistence-capable class with its primary key field ... with the value(s) of the primary key field(s) of the instance on which the method is called. Returns: the new instance created. Since: JDO 1.0 ... of the ObjectId class for this PersistenceCapable class and initialize the key fields from the instance
5

SecondaryTable.pkJoinColumns

Annotation Element javax.persistence.SecondaryTable PrimaryKeyJoinColumn[] pkJoinColumns (Optional) The columns that are used to join with the primary table. Defaults to the column(s) of the same name(s) as the primary key column(s) in the primary table. Default value: {} Since: JPA 1.0
5

getReference(entityClass, primaryKey)

- entity class primaryKey - primary key Returns: the found entity instance Throws ... type for that entity’s primary key or is null EntityNotFoundException - if the entity state cannot be accessed Since: JPA 1.0
5

TableGenerator.pkColumnValue

Annotation Element javax.persistence.TableGenerator String pkColumnValue (Optional) The primary key value in the generator table that distinguishes this set of generated values from others that may be stored in the table. Defaults to a provider-chosen value to store in the primary key column of the generator table Default value: "" Since: JPA 1.0
5

GeneratedValue.strategy

Annotation Element javax.persistence.GeneratedValue GenerationType strategy (Optional) The primary key generation strategy that the persistence provider must use to generate the annotated entity primary key. Default value: javax.persistence.GenerationType.AUTO Since: JPA 1.0
5

CollectionTable.joinColumns

Annotation Element javax.persistence.CollectionTable JoinColumn[] joinColumns (Optional) The foreign key columns of the collection table which reference the primary table of the entity. The default ... ., the concatenation of the following: the name of the entity; "_"; the name of the referenced primary key
5

Join.primaryKey

Annotation Element javax.jdo.annotations.Join String primaryKey Name for a generated primary key constraint. Returns: the name of the generated primary key constraint Default value: "" Since: JDO 2.1
5

javax.persistence.Cache

. Whether the cache contains data for the given entity. Parameters: cls - entity class primaryKey - primary key ... primaryKey - primary key Since: JPA 2.0 void evictAll() Clear the cache. Clear the cache. Since: JPA 2.0
5

javax.persistence.SecondaryTables

javax.persistence Annotation SecondaryTables Target: Classes Specifies multiple secondary tables for an entity. Example 1: Multiple secondary tables assuming primary key columns are named the same in ... { ... } Example 2: Multiple secondary tables with differently named primary key columns. @Entity
5

Persistent.primaryKey

Annotation Element javax.jdo.annotations.Persistent String primaryKey Whether this member is part of the primary key for application identity. This is equivalent to specifying @PrimaryKey as a separate annotation on the member. Returns: whether this member is part of the primary key Default value: "" Since: JDO 2.1

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