About primary key

61-70 of 200Refresh
JDO Doc
16

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
16

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
16

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
16

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
15

Key.extensions

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

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
15

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
15

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
15

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