About primary key

31-40 of 200Refresh
Manual
18

ORDER BY clause (JPQL / Criteria API)

. The following query returns Country objects ordered by currency as the primary sort key and by name as the secondary sort key: SELECT c.currency, c.name FROM Country c ORDER BY c.currency, c.name ... this case, the first expression is the primary order expression. Any additional order expression
JPA Doc
18

JPA Annotations for Classes

are useful in representing composite primary keys as explained in the Primary Key section of the ObjectDB manual.
JPA Doc
18

JPA Annotations for Value Generation

Automatically generated values are mainly useful for primary key fields, but are supported by ObjectDB also for regular (non primary key) persistent fields. At the field level, the @GeneratedValue with an optional GenerationType strategy is specified: The @GeneratedValue annotation
JPA Doc
17

javax.persistence.PrimaryKeyJoinColumn

get methods) Specifies a primary key column that is used as a foreign key to join to another table ... to a primary table; and it may be used in a OneToOne mapping in which the primary key ... to have the same names as the primary key columns of the primary table of the superclass. Example
JDO Doc
15

addExtension(key, value)

Method javax.jdo.Query void addExtension(   String key,   Object value ) Add a vendor-specific extension to this query. The key and value are not standard. An implementation must ignore keys that are not recognized. Parameters: key - the key of the extension value - the value of the extension Since: JDO 2.0
JDO Doc
15

Key.deleteAction

Annotation Element javax.jdo.annotations.Key ForeignKeyAction deleteAction Delete action to apply to the foreign key for the key. Returns: delete action to apply to the foreign key for the key Default value: javax.jdo.annotations.ForeignKeyAction.UNSPECIFIED Since: JDO 2.1
JDO Doc
15

Key.updateAction

Annotation Element javax.jdo.annotations.Key ForeignKeyAction updateAction Update action to apply to the foreign key for the key. Returns: update action to apply to the foreign key for the key Default value: javax.jdo.annotations.ForeignKeyAction.UNSPECIFIED Since: JDO 2.1
JDO Doc
15

ByteIdentity(pcClass, key)

Constructor javax.jdo.identity.ByteIdentity ByteIdentity(   Class pcClass,   Byte key ) Constructor with class and key. Parameters: pcClass - the target class key - the key Since: JDO 1.0
JDO Doc
15

CharIdentity(pcClass, key)

Constructor javax.jdo.identity.CharIdentity CharIdentity(   Class pcClass,   char key ) Constructor with class and key. Parameters: pcClass - the target class key - the key Since: JDO 1.0
JDO Doc
15

CharIdentity(pcClass, key)

Constructor javax.jdo.identity.CharIdentity CharIdentity(   Class pcClass,   Character key ) Constructor with class and key. Parameters: pcClass - the target class key - the key Since: JDO 1.0