 18 | 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 |
 18 | 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 |
 17 | 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 |
 17 | . same type and primary key). If the EntityManager does not manage such an entity object yet a new |
 17 | ) . For example, if a transaction fails because of an attempt to store a new entity object with a primary key that is already in use by another existing entity object, the nested exception is: Other common |
 17 | already contains another entity of the same type with the same primary key, an EntityExistsException |
 17 | have the same type and the same primary key value. For embeddable objects, e1 = e2 if e1 and e2 have exactly |
 17 | type and primary key:
em.find(MyEntity2.class, Long.valueOf(1),
Collections. |
 17 | on the primary key and the version attributes and the super type. For example:
// Get the super type |
 16 | 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 |