About primary key

161-170 of 200Refresh
JPA Doc
5

contains(cls, primaryKey)

Method javax.persistence.Cache boolean contains(   Class cls,   Object primaryKey ) Whether the cache contains data for the given entity. Parameters: cls - entity class primaryKey - primary key Returns: boolean indicating whether the entity is in the cache Since: JPA 2.0
JPA Doc
5

evict(cls, primaryKey)

Method javax.persistence.Cache void evict(   Class cls,   Object primaryKey ) Remove the data for the given entity from the cache. Parameters: cls - entity class primaryKey - primary key Since: JPA 2.0
JPA Doc
5

GeneratedValue.generator

Annotation Element javax.persistence.GeneratedValue String generator (Optional) The name of the primary key generator to use as specified in the SequenceGenerator or TableGenerator annotation. Defaults to the id generator supplied by persistence provider. Default value: "" Since: JPA 1.0
JPA Doc
5

GenerationType.IDENTITY

Enum Constant javax.persistence.GenerationType IDENTITY Indicates that the persistence provider must assign primary keys for the entity using a database identity column. Since: JPA 1.0
JPA Doc
5

GenerationType.SEQUENCE

Enum Constant javax.persistence.GenerationType SEQUENCE Indicates that the persistence provider must assign primary keys for the entity using a database sequence. Since: JPA 1.0
JPA Doc
5

GenerationType.TABLE

Enum Constant javax.persistence.GenerationType TABLE Indicates that the persistence provider must assign primary keys for the entity using an underlying database table to ensure uniqueness. Since: JPA 1.0
JPA Doc
5

IdClass.value

Annotation Element javax.persistence.IdClass Class value Primary key class Since: JPA 1.0
JPA Doc
5

JoinTable.inverseJoinColumns

Annotation Element javax.persistence.JoinTable JoinColumn[] inverseJoinColumns (Optional) The foreign key columns of the join table which reference the primary table of the entity that does not own the association. (I.e. the inverse side of the association). Uses the same defaults as for JoinColumn. Default value: {} Since: JPA 1.0
JPA Doc
5

JoinTable.joinColumns

Annotation Element javax.persistence.JoinTable JoinColumn[] joinColumns (Optional) The foreign key columns of the join table which reference the primary table of the entity owning the association. (I.e. the owning side of the association). Uses the same defaults as for JoinColumn. Default value: {} Since: JPA 1.0
JPA Doc
5

OrderBy.value

is not specified, ordering by the primary key of the associated entity is assumed. Default value: "" Since: JPA 1.0