About PrimaryKey

11-20 of 25Refresh
JDO Doc
65

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
65

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
65

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
65

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
Manual
61

JPA Primary Key

Explains how to define and use primary keys in JPA, including composite and embedded primary keys.
JDO Doc
23

JDO Predefined ID Classes

class MyClass { @PrimaryKey String id; } Persistent objects with a String primary key (including
JPA Doc
22

javax.persistence.EntityManager

(Class entityClass, Object primaryKey) Find by primary key. Find by primary key. Search for an entity ... context, it is returned from there. Parameters: entityClass - entity class primaryKey - primary key ...  primaryKey, Map properties) Find by primary key, using the specified properties. Find by
JPA Doc
13

javax.persistence.Cache

(Class cls, Object primaryKey) Whether the cache contains data for the given entity. Whether the cache contains data for the given entity. Parameters: cls - entity class primaryKey - primary key ... class Since: JPA 2.0 void evict(Class cls, Object primaryKey) Remove the data for the given entity
JDO Doc
9

javax.jdo.annotations.Persistent

Since: JDO 2.1 String primaryKey Whether this member is part of the primary key for application ... to specifying @PrimaryKey as a separate annotation on the member. Returns: whether this member
JDO Doc
6

javax.jdo.annotations.Join

value: "" Since: JDO 2.1 String primaryKey Name for a generated primary key constraint. Name