Home » Search

About primary key

111-120 of 200Refresh
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
6

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

SecondaryTable.pkJoinColumns

Annotation Element javax.persistence.SecondaryTable PrimaryKeyJoinColumn[] pkJoinColumns (Optional) The columns that are used to join with the primary table. Defaults to the column(s) of the same name(s) as the primary key column(s) in the primary table. Default value: {} Since: JPA 1.0
JPA Doc
5

CollectionTable.joinColumns

Annotation Element javax.persistence.CollectionTable JoinColumn[] joinColumns (Optional) The foreign 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
JPA Doc
5

GeneratedValue.strategy

Annotation Element javax.persistence.GeneratedValue GenerationType strategy (Optional) The primary key generation strategy that the persistence provider must use to generate the annotated entity primary key. Default value: javax.persistence.GenerationType.AUTO Since: JPA 1.0
JPA Doc
5

getReference(entityClass, primaryKey)

- entity class primaryKey - primary key Returns: the found entity instance Throws ... a valid type for that entity’s primary key or is null EntityNotFoundException - if the entity state cannot be accessed Since: JPA 1.0
JDO Doc
5

javax.jdo.annotations.PersistenceCapable

objectIdClass Primary key class when using application identity and using own PK. Primary key class
JPA Doc
5

javax.persistence.Cache

. Whether the cache contains data for the given entity. Parameters: cls - entity class primaryKey - primary key ... primaryKey - primary key Since: JPA 2.0 void evictAll() Clear the cache. Clear the cache. Since: JPA 2.0
JPA Doc
5

javax.persistence.SecondaryTables

javax.persistence Annotation SecondaryTables Target: Classes Specifies multiple secondary tables for an entity. Example 1: Multiple secondary tables assuming primary key columns are named the same in ... { ... } Example 2: Multiple secondary tables with differently named primary key columns. @Entity
JDO Doc
5

Join.generatePrimaryKey

Annotation Element javax.jdo.annotations.Join String generatePrimaryKey Generate or assume a primary key constraint exists on the column or columns associated with this join. Specify "true" or "false". Returns: whether to generate or assume a primary key constraint Default value: "" Since: JDO 2.1