About primary key

101-110 of 200Refresh
JPA Doc
11

javax.persistence.JoinTable

the primary table of the entity that does not own the association. (Optional) The foreign key columns ... which reference the primary table of the entity owning the association. (Optional) The foreign key columns ... of the join table is assumed to be the table names of the associated primary tables concatenated
JPA Doc
11

MapKey.name

or property of the associated entity that is used as the map key. Default: If the name element is not specified, the primary key of the associated entity is used as the map key. If the primary key is a composite primary key and is mapped as IdClass, an instance of the primary key class is used as the key. Default value: "" Since: JPA 1.0
JPA Doc
11

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
10

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
10

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
10

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
10

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
10

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
10

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
10

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