About primary key

171-180 of 200Refresh
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
JDO Doc
3

javax.jdo.identity.CharIdentity

(Class pcClass, char key) Constructor with class and key. Constructor with class and key. Parameters: pcClass - the target class key - the key Since: JDO 1.0 CharIdentity(Class pcClass, String str) Constructor with class and key. Constructor with class and key. The String must have exactly one character
JDO Doc
3

javax.jdo.identity.IntIdentity

, int key) Constructor with class and key. Constructor with class and key. Parameters: pcClass - the class key - the key Since: JDO 1.0 IntIdentity(Class pcClass, String str) Constructor with class and key. Constructor with class and key. Parameters: pcClass - the class str - the key Since: JDO 1.0
JDO Doc
3

javax.jdo.identity.LongIdentity

 pcClass, Long key) Constructor with class and key. Constructor with class and key. Parameters: pcClass - the class key - the key Since: JDO 1.0 LongIdentity(Class pcClass, Long key) Constructor with class and key. Constructor with class and key. Parameters: pcClass - the class key - the key Since: JDO
JDO Doc
3

javax.jdo.identity.ShortIdentity

(Class pcClass, Short key) Constructor with class and key. Constructor with class and key. Parameters: pcClass - the class key - the key Since: JDO 1.0 ShortIdentity(Class pcClass, Short key) Constructor with class and key. Constructor with class and key. Parameters: pcClass - the class key - the key