About JOIN

91-100 of 200Refresh
JPA Doc
10

javax.persistence.PrimaryKeyJoinColumn

get methods) Specifies a primary key column that is used as a foreign key to join to another table. It is used to join the primary table of an entity subclass in the JOINED mapping strategy to the primary table of its superclass; it is used within a SecondaryTable annotation to join a secondary table
JPA Doc
9

javax.persistence.AssociationOverride

, the joinColumns element is used. If the relationship mapping uses a join table, the joinTable element must be specified to override the mapping of the join table and/or its join columns. Example 1: Overriding ... See Also: Embedded Embeddable MappedSuperclass AttributeOverride JoinColumn[] joinColumns The join
JPA Doc
9

javax.persistence.JoinTable

the mapping of associations. It is specified on the owning side of an association. A join table ... -to-one relationships, and one-to-one associations (both bidirectional and unidirectional). When a join table ... of the join table is assumed to be the table names of the associated primary tables concatenated
JPA Doc
9

JoinColumn.name

column. The table in which it is found depends upon the context. If the join is for a OneToOne or ... of the source entity or embeddable. If the join is for a unidirectional OneToMany mapping using a foreign key mapping strategy, the foreign key is in the table of the target entity. If the join
JPA Doc
8

MapKeyJoinColumn.table

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 for a ManyToMany entity relationship or for a OneToMany entity relationship using a join table, the foreign
JPA Doc
7

correlate(parentJoin)

Method javax.persistence.criteria.Subquery Join correlate(   Join parentJoin ) Create a subquery join object correlated to a join object of the enclosing query. Parameters: parentJoin - join object of the containing query Returns: subquery join Since: JPA 2.0
JPA Doc
7

JoinColumn.table

of the applicable entity. Default: If the join is for a OneToOne or ManyToOne mapping using a foreign key mapping strategy, the name of the table of the source entity or embeddable. If the join ... of the target entity. If the join is for a ManyToMany mapping or for a OneToOne or bidirectional
JPA Doc
7

MapKeyJoinColumn.name

of the foreign key column for the map key. The table in which it is found depends upon the context. If the join ... for the map value. If the join is for a map key for a ManyToMany entity relationship or for a OneToMany entity relationship using a join table, the foreign key column is in a join table. If the join
JPA Doc
7

fetch(attribute, jt)

Method javax.persistence.criteria.FetchParent Fetch fetch(   PluralAttribute attribute,   JoinType jt ) Create a fetch join to the specified collection-valued attribute using the given join type. Parameters: attribute - target of the join jt - join type Returns: the resulting join Since: JPA 2.0
JPA Doc
7

fetch(attribute, jt)

Method javax.persistence.criteria.FetchParent Fetch fetch(   SingularAttribute attribute,   JoinType jt ) Create a fetch join to the specified single-valued attribute using the given join type. Parameters: attribute - target of the join jt - join type Returns: the resulting fetch join Since: JPA 2.0