About primary key

91-100 of 200Refresh
JDO Doc
10

javax.jdo.annotations.ForeignKey

. This is needed iff annotating a type where the foreign key is not defined on the primary table ... get methods) Annotation for a database foreign-key. Corresponds to the xml element "foreign-key". Since: JDO 2.1 Column[] columns Columns that compose this foreign key. Columns that compose this foreign key
JPA Doc
10

javax.persistence.MapKeyColumn

applies in addition to any constraint entailed by primary key mapping and to constraints specified ... the mapping for the key column of a map whose map key is a basic type. If the name element is not ... relationship field or property; "_"; "KEY". Example: @Entity public class Item { @Id int id
JPA Doc
10

javax.persistence.GenerationType

, Comparable Defines the types of primary key generation strategies. Since: JPA 1.0 ... must assign primary keys for the entity using a database identity column. Indicates that the persistence provider must assign primary keys for the entity using a database identity column. Since: JPA 1.0
JDO Doc
9

javax.jdo.annotations.Persistent

Since: JDO 2.1 String primaryKey Whether this member is part of the primary key for application identity. Whether this member is part of the primary key for application identity. This is equivalent ... is part of the primary key Default value: "" Since: JDO 2.1 int recursionDepth Recursion depth
JPA Doc
9

javax.persistence.SequenceGenerator

get methods) Defines a primary key generator that may be referenced by name when a generator element ... class or on the primary key field or property. The scope of the generator name is global ... to be the generator for primary key values. (Required) A unique generator name that can be referenced by
JDO Doc
9

javax.jdo.spi.JDOImplHelper

has no relationship with the values of the primary key fields of the persistence-capable instance ... - the PersistenceCapable class used as the key for lookup. fieldNames - an array of String field names ... to an outside source from the key fields in the ObjectId. Copy fields to an outside source from
JPA Doc
9

javax.persistence.Id

the primary key of an entity. The field or property to which the Id annotation is applied ... .sql.Date; java.math.BigDecimal; java.math.BigInteger. The mapped column for the primary key of the entity is assumed to be the primary key of the primary table. If no Column annotation is specified
JPA Doc
8

MapKey.name

or property of the associated entity that is used as the map key. Default: If the name element is not specified, the primary key of the associated entity is used as the map key. If the primary key is a composite primary key and is mapped as IdClass, an instance of the primary key class is used as the key. Default value: "" Since: JPA 1.0
JPA Doc
8

javax.persistence.JoinTable

the primary table of the entity that does not own the association. (Optional) The foreign key columns ... which reference the primary table of the entity owning the association. (Optional) The foreign key columns ... of the join table is assumed to be the table names of the associated primary tables concatenated
JPA Doc
8

PrimaryKeyJoinColumn.name

of the primary key column of the current table. Defaults to the same name as the primary key column of the primary table of the superclass (JOINED mapping strategy); the same name as the primary key column of the primary table (SecondaryTable mapping); or the same name as the primary key column for the table