ObjectDB ObjectDB

Internal Website Search

141-150 of 200 resultsRefresh


the ordering must correspond to columns for which comparison operators are supported. The dot ... is not used when an order column is specified. Example 1: @Entity public class Course


Annotation Element javax.persistence.PrimaryKeyJoinColumn String columnDefinition (Optional) The SQL fragment that is used when generating the DDL for the column. This should not be specified for a OneToOne primary key association. Defaults to the generated SQL to create a column of the inferred type. Default value: "" Since: JPA 1.0


) An array of the column names that make up the constraint. (Required) An array of the column names


Annotation Element javax.persistence.EntityResult String discriminatorColumn Specifies the column name (or alias) of the column in the SELECT list that is used to determine the type of the entity instance. Default value: "" Since: JPA 1.0


Annotation Element javax.persistence.JoinColumn String table (Optional) The name of the table that contains the column. If a table is not specified, the column is assumed to be in the primary table of the applicable entity. Default: If the join is for a OneToOne or ManyToOne mapping using a foreign


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


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


Annotation Element javax.jdo.annotations.Embedded String nullIndicatorColumn The column in the embedded object used to judge if the embedded object is null. Returns: the null indicator column Default value: "" Since: JDO 2.1


Annotation Element javax.jdo.annotations.Persistent String serialized Whether this member is serialized into a single column. Returns: whether this member is serialized into a single column Default value: "" Since: JDO 2.1


Annotation Element javax.jdo.annotations.Persistent String nullIndicatorColumn Null indicator column for this member. Used for nested embedded fields or properties to indicate whether the embedded instance should have a null value. Returns: the null indicator column 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