ObjectDB ObjectDB

Internal Website Search

131-140 of 200 resultsRefresh


javax.persistence Annotation PrimaryKeyJoinColumn Target: Classes and fields (including property ... to the primary table of its superclass; it is used within a SecondaryTable annotation to join a secondary table ... of the referencing entity is used as a foreign key to the referenced entity. If no PrimaryKeyJoinColumn annotation


javax.jdo.annotations Enum IdGeneratorStrategy java.lang.Object java.lang.Enum<javax.jdo.annotations.IdGeneratorStrategy> javax.jdo.annotations.IdGeneratorStrategy Implemented Interfaces: Serializable, Comparable<IdGeneratorStrategy> Enumeration of the id generator strategy values


javax.jdo.annotations Enum SequenceStrategy java.lang.Object java.lang.Enum<javax.jdo.annotations.SequenceStrategy> javax.jdo.annotations.SequenceStrategy Implemented Interfaces: Serializable, Comparable<SequenceStrategy> Enumeration of the sequence strategy values. Since: JDO 2.1


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


javax.jdo.annotations Enum PersistenceModifier java.lang.Object java.lang.Enum<javax.jdo.annotations.PersistenceModifier> javax.jdo.annotations.PersistenceModifier Implemented Interfaces: Serializable, Comparable<PersistenceModifier> Enumeration of the persistence-modifier values


Annotation Element javax.jdo.annotations.Index String table Table for the index. This is needed iff annotating a type where the index is not defined on the primary table for the type. Returns: the table on which the index is defined Default value: "" Since: JDO 2.1


Annotation Element javax.jdo.annotations.Discriminator DiscriminatorStrategy strategy Strategy to use for the discriminator. The discriminator determines the class associated with a row in the datastore. Returns: the strategy to use for the discriminator Default value: javax.jdo.annotations.DiscriminatorStrategy.UNSPECIFIED Since: JDO 2.1


Annotation Element javax.jdo.annotations.Persistent NullValue nullValue Behavior when this member contains a null value. Returns: the behavior when this member contains a null value Default value: javax.jdo.annotations.NullValue.NONE Since: JDO 2.1


Annotation Element javax.jdo.annotations.Unique String table Table for the unique constraint. This is needed iff annotating a type where this unique constraint is not for the primary table for the persistent class or interface. Returns: the table on which the unique constraint is defined Default value: "" Since: JDO 2.1


Annotation Element javax.jdo.annotations.Discriminator String indexed Whether the discriminator is indexed. Returns: whether the discriminator is indexed 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