ObjectDB ObjectDB

Internal Website Search

121-130 of 200 resultsRefresh


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


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 Cacheable Target: Classes Specifies whether an entity should be cached ... DISABLE_SELECTIVE. The value of the Cacheable annotation is inherited by subclasses ... must not be cached by the provider. Since: JPA 2.0 Learn how to use the @Cacheable annotation in


Annotation Element javax.jdo.annotations.Element ForeignKeyAction updateAction Update action to apply to any foreign key for the element Returns: update action to apply to any foreign key for the element Default value: javax.jdo.annotations.ForeignKeyAction.UNSPECIFIED Since: JDO 2.1


Annotation Element javax.jdo.annotations.ForeignKey ForeignKeyAction deleteAction The delete action of this foreign key. Returns: the delete action of this foreign key Default value: javax.jdo.annotations.ForeignKeyAction.RESTRICT 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.Columns Column[] value The columns annotation information. Returns: the columns Since: JDO 2.1


Annotation Element javax.jdo.annotations.DatastoreIdentity IdGeneratorStrategy strategy Strategy to use when generating datastore identities Returns: Strategy to use when generating datastore identities Default value: javax.jdo.annotations.IdGeneratorStrategy.UNSPECIFIED Since: JDO 2.1


Annotation Element javax.jdo.annotations.Persistent int recursionDepth Recursion depth for this member. Used only when the annotation is used within the definition of a FetchGroup. Returns: the recursion depth Default value: 1 Since: JDO 2.1


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

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