About primary key

101-110 of 200Refresh
JPA Doc
8

PrimaryKeyJoinColumn.referencedColumnName

) The name of the primary key column of the table being joined to. Defaults to the same name as the primary key column of the primary table of the superclass (JOINED mapping strategy); the same name as the primary key column of the primary table (SecondaryTable mapping); or the same name as the primary
JPA Doc
8

javax.persistence.IdClass

javax.persistence Annotation IdClass Target: Classes Specifies a composite primary key class ... the primary key class and the primary key fields or properties of the entity must correspond ... value Primary key class Primary key class Since: JPA 1.0
JDO Doc
8

javax.jdo.annotations.Element

"false". Returns: whether to generate or assume a primary key constraint Default value: "" Since: JDO 2.1 ... to any foreign key for the element. Delete action to apply to any foreign key for the element. Returns: delete action to apply to any foreign key for the element Default value: javax.jdo.annotations
JPA Doc
7

JoinColumn.name

embeddable class; "_"; the name of the referenced primary key column. If there is no such referencing ... of the referenced primary key column. Default value: "" Since: JPA 1.0 ... Annotation Element javax.persistence.JoinColumn String name (Optional) The name of the foreign key
JPA Doc
7

find(entityClass, primaryKey)

by primary key. Search for an entity of the specified class and primary key. If the entity instance ... class primaryKey - primary key Returns: the found entity instance or null if the entity does not ... the second argument is is not a valid type for that entity’s primary key or is null Since: JPA 1.0
JPA Doc
7

find(entityClass, primaryKey, lockMode)

,   LockModeType lockMode ) Find by primary key and lock. Search for an entity of the specified class and primary key and lock it with respect to the specified lock type. If the entity instance is contained in ... primaryKey - primary key lockMode - lock mode Returns: the found entity instance or null if the entity
JPA Doc
7

find(entityClass, primaryKey, lockMode, properties)

,   LockModeType lockMode,   Map properties ) Find by primary key and lock, using the specified properties. Search for an entity of the specified class and primary key and lock it with respect ... : entityClass - entity class primaryKey - primary key lockMode - lock mode properties - standard and vendor
JPA Doc
7

find(entityClass, primaryKey, lockMode, properties)

,   LockModeType lockMode,   Map properties ) Find by primary key and lock, using the specified properties. Search for an entity of the specified class and primary key and lock it with respect ... . Parameters: entityClass - entity class primaryKey - primary key lockMode - lock mode properties - standard
JPA Doc
7

find(entityClass, primaryKey, properties)

 properties ) Find by primary key, using the specified properties. Search for an entity of the specified class and primary key. If the entity instance is contained in the persistence ... , it is silently ignored. Parameters: entityClass - entity class primaryKey - primary key properties - standard
JPA Doc
7

javax.persistence.EmbeddedId

a derived primary key. If the entity has a derived primary key, the AttributeOverride annotation ... to primary key type of Employee } @Entity public class Dependent { // default ... to a persistent field or property of an entity class or mapped superclass to denote a composite primary