About primary key

61-70 of 200Refresh
JDO Doc
15

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
15

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
14

Key.extensions

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

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
14

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
14

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
Result
14

What is new in ObjectDB 2.0?

ObjectDB 2.0 supports many new features and improvements, including: Most of the features of the new JPA 2.0 and JDO 2.2 APIs. User defined IDs (primary key) and sequences. Support of unlimited index keys size. SQL like queries ("select from ... where ..."). Real non blocking multithreading in
Manual
14

JPA Persistable Types

, however, do not have an identity (primary key) of their own which leads to some limitations (e.g ... and arrays and keys and values in maps) are either null values or instances of persistable types. In
JDO Doc
13

javax.jdo.annotations.PrimaryKey

get methods) Annotation on a member to define it as a primary key member of a class or persistent interface using application identity. Also used to define the primary key columns of a secondary table. Corresponds to the xml element "primary-key". Since: JDO 2.1 String column Name of the column to use
JPA Doc
12

javax.persistence.JoinColumn

field of the referencing entity or embeddable class; "_"; the name of the referenced primary key ... : the name of the entity; "_"; the name of the referenced primary key column. Default value ... the collection. Default (only applies if single join column is being used): The same name as the primary key