About primary key

101-110 of 200Refresh
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
6

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

javax.persistence.Column

. This constraint applies in addition to any constraint entailed by primary key mapping and to constraints ... of the table that contains the column. If absent the column is assumed to be in the primary table. Default value: "" Since: JPA 1.0 boolean unique (Optional) Whether the column is a unique key. (Optional
JDO Doc
5

jdoNewObjectIdInstance()

, this method must be called on an instance of a persistence-capable class with its primary key field ... with the value(s) of the primary key field(s) of the instance on which the method is called. Returns: the new instance created. Since: JDO 1.0 ... of the ObjectId class for this PersistenceCapable class and initialize the key fields from the instance