 5 | 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 |
 5 | 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 |
 5 | and JoinColumn annotations and constraints entailed by primary key mappings. Defaults to no additional constraints. Default value: {} Since: JPA 1.0 |
 5 | 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 |
 5 | 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 |
 5 | annotations and constraints entailed by primary key mappings. Defaults to no additional constraints. Default value: {} Since: JPA 1.0 |
 5 | 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 |
 5 | 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 |
 4 | (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 |
 4 | , 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 |