Home » Search

About primary key

101-110 of 200Refresh
JPA Doc
8

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
JPA Doc
7

MapKeyJoinColumn.table

using a foreign key mapping strategy, the name of the primary table of the entity that is the value of the map. Default value: "" Since: JPA 2.0 ... that contains the foreign key column. If the join is for a map key for an element collection, the foreign key column is in the collection table for the map value. If the join is for a map key
JPA Doc
6

javax.persistence.CollectionTable

key columns of the collection table which reference the primary table of the entity. The default ... ., the concatenation of the following: the name of the entity; "_"; the name of the referenced primary key ... catalog is used. Default value: "" Since: JPA 2.0 JoinColumn[] joinColumns (Optional) The foreign key
JPA Doc
6

javax.persistence.OrderBy

. If the ordering element is not specified for an entity association, ordering by the primary key ... { ... @ManyToMany(mappedBy="students") @OrderBy // ordering by primary key is assumed ... , ordering by the primary key of the associated entity is assumed. Default value: "" Since: JPA 1.0