Home » Search

About table

91-100 of 200Refresh
JPA Doc
5

javax.persistence.GenerationType

for the entity using a database sequence. Since: JPA 1.0 GenerationType TABLE Indicates that the persistence provider must assign primary keys for the entity using an underlying database table to ensure ... an underlying database table to ensure uniqueness. Since: JPA 1.0 GenerationType valueOf(String name
JPA Doc
5

javax.persistence.Version

to the primary table for the entity class; applications that map the Version property to a table other than the primary table will not be portable. The following types are supported for version properties: int
JPA Doc
5

PessimisticLockScope.EXTENDED

in join tables will be locked if the javax.persistence.lock.scope property is specified ... collection generally locks only the rows in the join table or collection table for that relationship or
JPA Doc
5

PessimisticLockScope.NORMAL

is used, or if the entity is otherwise mapped to a secondary table, this entails locking the row(s) for the entity instance in the additional table(s). Entity relationships for which the locked entity ... contain the foreign key (such as relationships that are mapped to join tables or unidirectional
JPA Doc
5

TableGenerator.pkColumnValue

Annotation Element javax.persistence.TableGenerator String pkColumnValue (Optional) The primary key value in the generator table that distinguishes this set of generated values from others that may be stored in the table. Defaults to a provider-chosen value to store in the primary key column of the generator table Default value: "" Since: JPA 1.0
JPA Doc
4

AssociationOverride.joinTable

Annotation Element javax.persistence.AssociationOverride JoinTable joinTable The join table that maps the relationship. The joinTable element must be specified if a join table is used in the overriding of the mapping of the relationship. The joinTable element must not be specified if a foreign key
JPA Doc
4

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 only applies if a single join column is used. The default is the same as for JoinColumn (i.e
JPA Doc
4

CollectionTable.uniqueConstraints

Annotation Element javax.persistence.CollectionTable UniqueConstraint[] uniqueConstraints (Optional) Unique constraints that are to be placed on the table. These are only used if table generation is in effect. Default value: {} Since: JPA 2.0
JDO Doc
4

Column.target

Annotation Element javax.jdo.annotations.Column String target Target column for this column in the other table when part of a foreign key relation. Returns: the target column in the other table for this column when part of a foreign key relation. Default value: "" Since: JDO 2.1
JPA Doc
4

Column.unique

Annotation Element javax.persistence.Column boolean unique (Optional) Whether the column is a unique key. This is a shortcut for the UniqueConstraint annotation at the table level and is useful ... addition to any constraint entailed by primary key mapping and to constraints specified at the table level. Default value: false Since: JPA 1.0