Home » Search

About primary key

121-130 of 200Refresh
JDO Doc
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
JDO Doc
5

Join.primaryKey

Annotation Element javax.jdo.annotations.Join String primaryKey Name for a generated primary key constraint. Returns: the name of the generated primary key constraint Default value: "" Since: JDO 2.1
JDO Doc
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
JDO Doc
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
JDO Doc
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
JDO Doc
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
JPA Doc
5

TableGenerator.pkColumnValue

Annotation Element javax.persistence.TableGenerator String pkColumnValue (Optional) The primary key value in the generator table that distinguishes this set of generated values from others that may be stored in the table. Defaults to a provider-chosen value to store in the primary key column of the generator table Default value: "" Since: JPA 1.0
JPA Doc
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
JPA Doc
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
JPA Doc
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