About primary key

171-180 of 200Refresh
JPA Doc
3

OrderBy.value

is not specified, ordering by the primary key of the associated entity is assumed. Default value: "" Since: JPA 1.0
JDO Doc
3

PersistenceCapable.objectIdClass

Annotation Element javax.jdo.annotations.PersistenceCapable Class objectIdClass Primary key class when using application identity and using own PK. Default value: void.class Since: JDO 2.1
JPA Doc
3

PrimaryKeyJoinColumn.columnDefinition

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
JPA Doc
3

SecondaryTable.uniqueConstraints

and JoinColumn annotations and constraints entailed by primary key mappings. Defaults to no additional constraints. Default value: {} Since: JPA 1.0
JPA Doc
3

SequenceGenerator.name

Annotation Element javax.persistence.SequenceGenerator String name (Required) A unique generator name that can be referenced by one or more classes to be the generator for primary key values. Since: JPA 1.0
JPA Doc
3

SequenceGenerator.sequenceName

Annotation Element javax.persistence.SequenceGenerator String sequenceName (Optional) The name of the database sequence object from which to obtain primary key values. Defaults to a provider-chosen value. Default value: "" Since: JPA 1.0
JPA Doc
3

Table.uniqueConstraints

annotations and constraints entailed by primary key mappings. Defaults to no additional constraints. Default value: {} Since: JPA 1.0
JPA Doc
3

TableGenerator.pkColumnName

Annotation Element javax.persistence.TableGenerator String pkColumnName (Optional) Name of the primary key column in the table. Defaults to a provider-chosen name. Default value: "" Since: JPA 1.0
JPA Doc
3

TableGenerator.uniqueConstraints

Annotation Element javax.persistence.TableGenerator UniqueConstraint[] uniqueConstraints (Optional) Unique constraints that are to be placed on the table. These are only used if table generation is in effect. These constraints apply in addition to primary key constraints. Defaults to no additional constraints. Default value: {} Since: JPA 1.0
JDO Doc
3

javax.jdo.identity.ByteIdentity

 pcClass, Byte key) Constructor with class and key. Constructor with class and key. Parameters: pcClass - the target class key - the key Since: JDO 1.0 ByteIdentity(Class pcClass, Byte key) Constructor with class and key. Constructor with class and key. Parameters: pcClass - the target class key