About primary key

61-70 of 200Refresh
JDO Doc
19

Key.table

Annotation Element javax.jdo.annotations.Key String table Name of the table for the key. Returns: name of the table for the key Default value: "" Since: JDO 2.1
JDO Doc
19

Key.types

Annotation Element javax.jdo.annotations.Key Class[] types Types of the keys. This can be determined if using JDK1.5 generics but is required otherwise. Multiple types can be specified if the implementation supports multiple types. Returns: the types of keys Default value: {} Since: JDO 2.1
JDO Doc
19

Key.uniqueKey

Annotation Element javax.jdo.annotations.Key String uniqueKey The name of the unique key constraint to generate. Returns: the name of the unique key constraint Default value: "" Since: JDO 2.1
JDO Doc
19

newObjectIdInstance(pcClass, key)

Method javax.jdo.PersistenceManager Object newObjectIdInstance(   Class pcClass,   Object key ) This method returns an object id instance corresponding to the pcClass and key arguments. Parameters: pcClass - the Class of the persistence-capable instance key - for single-field identity
JDO Doc
19

putUserObject(key, val)

Method javax.jdo.PersistenceManager Object putUserObject(   Object key,   Object val ) Put the specified key-value pair into the map of user objects. Parameters: key - val - Since: JDO 2.0
JPA Doc
18

keys(map)

Method javax.persistence.criteria.CriteriaBuilder Expression> keys(   M map ) Create an expression that returns the keys of a map. Parameters: map - map Returns: set expression Since: JPA 2.0
JDO Doc
18

Key.extensions

Annotation Element javax.jdo.annotations.Key Extension[] extensions Vendor extensions. Returns: the vendor extensions Default value: {} Since: JDO 2.1
JDO Doc
18

Key.index

Annotation Element javax.jdo.annotations.Key String index The name of the index to generate. Returns: the name of the index Default value: "" Since: JDO 2.1
JDO Doc
18

Key.indexed

Annotation Element javax.jdo.annotations.Key String indexed Whether the value column(s) should be indexed. Returns: whether the value column(s) should be indexed. Default value: "" Since: JDO 2.1
JDO Doc
18

Key.unique

Annotation Element javax.jdo.annotations.Key String unique Whether the element column(s) contents should be considered unique Returns: whether the element column(s) contents should be considered unique Default value: "" Since: JDO 2.1