ObjectDB ObjectDB

Internal Website Search

121-130 of 200 resultsRefresh


Annotation Element javax.persistence.DiscriminatorValue String value (Optional) The value that indicates that the row is an entity of the annotated entity type. If the DiscriminatorValue annotation is not specified and a discriminator column is used, a provider-specific function will be used


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.persistence Annotation ManyToOne Target: Fields (including property get methods) Defines ... that is the owner of the relationship. The ManyToOne annotation may be used within an embeddable class ... annotation to specify the relationship field or property of the embeddable field or property on the owning


javax.persistence Annotation Column Target: Fields (including property get methods) Is used to specify the mapped column for a persistent property or field. If no Column annotation is specified ... ) Whether the column is a unique key. This is a shortcut for the UniqueConstraint annotation at the table


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


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


Annotation Element javax.jdo.annotations.PersistenceCapable IdentityType identityType Type of identity for this class or interface. Default value: javax.jdo.annotations.IdentityType.UNSPECIFIED Since: JDO 2.1


Annotation Element javax.jdo.annotations.Embedded Persistent[] members Members for this embedding. Returns: the members embedded in the field or property being annotated Default value: {} 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.Inheritance InheritanceStrategy strategy Strategy to use for inheritance. Specifies in which table(s) the members for the class are stored. Returns: the inheritance strategy Default value: javax.jdo.annotations.InheritanceStrategy.UNSPECIFIED 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