ObjectDB ObjectDB

Internal Website Search

141-150 of 200 resultsRefresh
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
5

Join.generatePrimaryKey

Annotation Element javax.jdo.annotations.Join String generatePrimaryKey Generate or assume a primary key constraint exists on the column or columns associated with this join. Specify "true" or "false". Returns: whether to generate or assume a primary key constraint Default value: "" Since: JDO 2.1
5

PrimaryKey.name

Annotation Element javax.jdo.annotations.PrimaryKey String name Name of the primary key constraint Returns: the name of the primary key constraint Default value: "" Since: JDO 2.1
5

javax.jdo.annotations.PersistenceCapable

objectIdClass Primary key class when using application identity and using own PK. Primary key class
5

PrimaryKey.columns

Annotation Element javax.jdo.annotations.PrimaryKey Column[] columns The column(s) for the primary key Returns: the column(s) for the primary key Default value: {} Since: JDO 2.1
5

PrimaryKey.column

Annotation Element javax.jdo.annotations.PrimaryKey String column Name of the column to use for the primary key Returns: the name of the column to use for the primary key Default value: "" Since: JDO 2.1
5

MapKeyColumn.table

relationship using a foreign key mapping strategy, the name of the primary table of the entity that is the value of the map. Default value: "" Since: JPA 2.0 ... that contains the column. Defaults: If the map key is for an element collection, the name of the collection table for the map value. If the map key is for a OneToMany or ManyToMany entity relationship
5

JoinColumn.unique

is a unique key. This is a shortcut for the UniqueConstraint annotation at the table level and is useful for when the unique key constraint is only a single field. It is not necessary to explicitly specify this for a join column that corresponds to a primary key that is part of a foreign key. Default value: false Since: JPA 1.0
5

JoinColumn.referencedColumnName

the primary key column of the referenced table. Default value: "" Since: JPA 1.0 ... of the column referenced by this foreign key column. When used with entity relationship mappings ... with a unidirectional OneToMany foreign key mapping, the referenced column is in the table
4

javax.persistence.Table

by primary key mappings. Defaults to no additional constraints. Default value: {} Since: JPA 1.0 ... javax.persistence Annotation Table Target: Classes Specifies the primary table for the annotated entity. Additional tables may be specified using SecondaryTable or SecondaryTables annotation

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