Internal Website Search

101-150 of 200 results

FetchParent.fetch(attribute,jt) - JPA Method

JPA Method in 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 Return: the resulting join Since: JPA 2.0

FetchParent.fetch(attribute,jt) - JPA Method

JPA Method in 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 Return: the resulting fetch join Since: JPA 2.0

FetchParent.fetch(attributeName,jt) - JPA Method

;attributeName,     JoinType  jt ) Create a fetch join to the specified attribute using the given join type. Parameters: attributeName - name of the attribute for the target of the join jt - join type Return: the resulting fetch join Throws: IllegalArgumentException - if attribute of the given name does not exist Since: JPA 2.0

From.joinList(attributeName,jt) - JPA Method

;attributeName,     JoinType  jt ) Create a join to the specified List-valued attribute using the given join type. Parameters: attributeName - name of the attribute for the target of the join jt - join type Return: the resulting join Throws: IllegalArgumentException - if attribute of the given name does not exist Since: JPA 2.0

From.joinMap(attributeName,jt) - JPA Method

;attributeName,     JoinType  jt ) Create a join to the specified Map-valued attribute using the given join type. Parameters: attributeName - name of the attribute for the target of the join jt - join type Return: the resulting join Throws: IllegalArgumentException - if attribute of the given name does not exist Since: JPA 2.0

From.joinSet(attributeName,jt) - JPA Method

;attributeName,     JoinType  jt ) Create a join to the specified Set-valued attribute using the given join type. Parameters: attributeName - name of the attribute for the target of the join jt - join type Return: the resulting join Throws: IllegalArgumentException - if attribute of the given name does not exist Since: JPA 2.0

From.joinCollection(attributeName,jt) - JPA Method

 attributeName,     JoinType  jt ) Create a join to the specified Collection-valued attribute using the given join type. Parameters: attributeName - name of the attribute for the target of the join jt - join type Return: the resulting join Throws: IllegalArgumentException - if attribute of the given name does not exist Since: JPA 2.0

javax.persistence.PessimisticLockScope

, element collections and relationships owned by the entity that are contained in join tables ... locks only the rows in the join table or collection table for that relationship or collection ... to the non-collection-valued persistent state of that instance. If a joined inheritance strategy is used, or

javax.persistence.criteria.PluralJoin

type of the collection Super Interfaces: Expression , FetchParent , From , Join , Path , Selection , TupleElement The PluralJoin interface defines functionality that is common to joins to all collection ... corresponding to the join . Return: metamodel collection-valued attribute corresponding to the target of the join Since: JPA 2.0

Subquery.correlate(parentList) - JPA Method

JPA Method in javax.persistence.criteria.Subquery ListJoin correlate (    ListJoin  parentList ) Create a subquery list join object correlated to a list join object of the enclosing query. Parameters: parentList - join object of the containing query Return: subquery join Since: JPA 2.0

Subquery.correlate(parentMap) - JPA Method

JPA Method in javax.persistence.criteria.Subquery MapJoin correlate (    MapJoin  parentMap ) Create a subquery map join object correlated to a map join object of the enclosing query. Parameters: parentMap - join object of the containing query Return: subquery join Since: JPA 2.0

javax.persistence.CollectionTable

join column name @AttributeOverrides({ @AttributeOverride(name="street", column=@Column(name="HOME ... the primary table of the entity. The default only applies if a single join column is used. The default ... ; "_"; the name of the referenced primary key column.) However, if there is more than one join column

Subquery.correlate(parentSet) - JPA Method

JPA Method in javax.persistence.criteria.Subquery SetJoin correlate (    SetJoin  parentSet ) Create a subquery set join object correlated to a set join object of the enclosing query. Parameters: parentSet - join object of the containing query Return: subquery join Since: JPA 2.0

Subquery.correlate(parentCollection) - JPA Method

JPA Method in javax.persistence.criteria.Subquery CollectionJoin correlate (    CollectionJoin  parentCollection ) Create a subquery collection join object correlated to a collection join object of the enclosing query. Parameters: parentCollection - join object of the containing query Return: subquery join Since: JPA 2.0

javax.persistence.MapKeyColumn

using a join table, the map key column is in a join table. If the map key is for a OneToMany entity ... . If the map key is for a OneToMany or ManyToMany entity relationship using a join table, the name of the join table for the map. If the map key is for a OneToMany entity relationship using a foreign key

javax.persistence.Query

- if there is no transaction or the persistence context has not been joined to the transaction QueryTimeoutException ... other than NONE has been set and there is no transaction or the persistence context has not been joined ... context has not been joined to the transaction PessimisticLockException - if pessimistic locking fails

javax.persistence.TypedQuery

been joined to the transaction QueryTimeoutException - if the statement execution exceeds the query ... and there is no transaction or the persistence context has not been joined to the transaction ... other than NONE has been set and there is no transaction or the persistence context has not been joined

FetchParent.fetch(attribute) - JPA Method

JPA Method in javax.persistence.criteria.FetchParent Fetch fetch (    PluralAttribute  attribute ) Create a fetch join to the specified collection-valued attribute using an inner join . Parameters: attribute - target of the join Return: the resulting join Since: JPA 2.0

FetchParent.fetch(attribute) - JPA Method

JPA Method in javax.persistence.criteria.FetchParent Fetch fetch (    SingularAttribute  attribute ) Create a fetch join to the specified single-valued attribute using an inner join . Parameters: attribute - target of the join Return: the resulting fetch join Since: JPA 2.0

FetchParent.fetch(attributeName) - JPA Method

JPA Method in javax.persistence.criteria.FetchParent Fetch fetch (   String attributeName ) Create a fetch join to the specified attribute using an inner join . Parameters: attributeName - name of the attribute for the target of the join Return: the resulting fetch join Throws

javax.persistence.criteria.CriteriaQuery

from a get or join operation and the query result type is specified. For example: CriteriaQuery q = cb ... ) . join ("items") . join ("product")); Parameters: selection - selection specifying the item

Subquery.getCorrelatedJoins() - JPA Method

JPA Method in javax.persistence.criteria.Subquery Set getCorrelatedJoins () Return the correlated joins of the subquery. Returns empty set if the subquery has no correlated joins . Modifications to the set do not affect the query. Return: the correlated joins of the subquery Since: JPA 2.0

javax.persistence.CollectionTable.joinColumns

of the entity. The default only applies if a single join column is used. The default is the same as ... of the referenced primary key column.) However, if there is more than one join column, a JoinColumn annotation must be specified for each join column using the JoinColumns annotation. In this case

javax.persistence.SecondaryTable

table. If no primary key join columns are specified, the join columns are assumed to reference ... PrimaryKeyJoinColumn [] pkJoinColumns default {} (Optional) The columns that are used to join

CollectionJoin.on(restrictions) - JPA Method

... restrictions ) Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any. Parameters: restrictions - zero or more restriction predicates Return: the modified join object Since: JPA 2.1

CollectionJoin.on(restriction) - JPA Method

; Expression  restriction ) Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any. Parameters: restriction - a simple or compound boolean expression Return: the modified join object Since: JPA 2.1

FetchParent.getFetches() - JPA Method

JPA Method in javax.persistence.criteria.FetchParent Set getFetches () Return the fetch joins that have been made from this type. Returns empty set if no fetch joins have been made from this type. Modifications to the set do not affect the query. Return: fetch joins made from this type Since: JPA 2.0

From.getJoins() - JPA Method

JPA Method in javax.persistence.criteria.From Set getJoins () Return the joins that have been made from this bound type. Returns empty set if no joins have been made from this bound type. Modifications to the set do not affect the query. Return: joins made from this type Since: JPA 2.0

Fetch.getJoinType() - JPA Method

JPA Method in javax.persistence.criteria.Fetch JoinType getJoinType () Return the join type used in the fetch join . Return: join type Since: JPA 2.0

javax.persistence.ForeignKey

actions it determines most appropriate for the join column(s) to which the foreign key annotation ... a constraint whose update and delete actions it determines most appropriate for the join column(s ... (which may or may not result in the generation of a constraint for the given join column(s). Since: JPA 2.1

ListJoin.on(restrictions) - JPA Method

;restrictions ) Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any. Parameters: restrictions - zero or more restriction predicates Return: the modified join object Since: JPA 2.1

ListJoin.on(restriction) - JPA Method

;restriction ) Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any. Parameters: restriction - a simple or compound boolean expression Return: the modified join object Since: JPA 2.1

MapJoin.on(restrictions) - JPA Method

;restrictions ) Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any. Parameters: restrictions - zero or more restriction predicates Return: the modified join object Since: JPA 2.1

MapJoin.on(restriction) - JPA Method

;restriction ) Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any. Parameters: restriction - a simple or compound boolean expression Return: the modified join object Since: JPA 2.1

From.joinMap(attributeName) - JPA Method

JPA Method in javax.persistence.criteria.From MapJoin joinMap (   String attributeName ) Create an inner join to the specified Map-valued attribute. Parameters: attributeName - name of the attribute for the target of the join Return: the resulting join Throws

From.joinList(attributeName) - JPA Method

JPA Method in javax.persistence.criteria.From ListJoin joinList (   String attributeName ) Create an inner join to the specified List-valued attribute. Parameters: attributeName - name of the attribute for the target of the join Return: the resulting join Throws

javax.persistence.JoinColumn.referencedColumnName

column is in the entity table of the owning entity, or inverse entity if the join is part of the inverse join definition. When used in a CollectionTable mapping, the referenced column is in the table of the entity containing the collection. Default (only applies if single join column is being used

From.joinCollection(attributeName) - JPA Method

JPA Method in javax.persistence.criteria.From CollectionJoin joinCollection (   String attributeName ) Create an inner join to the specified Collection-valued attribute. Parameters: attributeName - name of the attribute for the target of the join Return: the resulting join Throws

From.joinSet(attributeName) - JPA Method

JPA Method in javax.persistence.criteria.From SetJoin joinSet (   String attributeName ) Create an inner join to the specified Set-valued attribute. Parameters: attributeName - name of the attribute for the target of the join Return: the resulting join Throws

SetJoin.on(restrictions) - JPA Method

;restrictions ) Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any. Parameters: restrictions - zero or more restriction predicates Return: the modified join object Since: JPA 2.1

SetJoin.on(restriction) - JPA Method

;restriction ) Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any. Parameters: restriction - a simple or compound boolean expression Return: the modified join object Since: JPA 2.1

CriteriaQuery.select(selection) - JPA Method

to specify the type of the select item when it results from a get or join operation and the query result ... (Product.class); q2.select(q2.from(Order.class) . join ("items") . join ("product")); Parameters

javax.persistence.ManyToMany

, the owning side and the non-owning, or inverse, side. The join table is specified on the owning ... annotation to specify the relationship field or property of the owning side. The join table

javax.persistence.PessimisticLockScope.NORMAL

) that correspond to the non-collection-valued persistent state of that instance. If a joined inheritance ... does not contain the foreign key (such as relationships that are mapped to join tables or

javax.persistence.PessimisticLockScope.EXTENDED

that are contained in join tables will be locked if the javax.persistence.lock.scope property is specified ... element collection generally locks only the rows in the join table or collection table

PluralJoin.getModel() - JPA Method

JPA Method in javax.persistence.criteria.PluralJoin PluralAttribute getModel () Return the metamodel representation for the collection-valued attribute corresponding to the join . Return: metamodel collection-valued attribute corresponding to the target of the join Since: JPA 2.0

javax.persistence.AssociationOverride.joinColumns

JPA Annotation Attribute in javax.persistence.AssociationOverride JoinColumn [] joinColumns default {} The join column(s) being mapped to the persistent attribute(s). The joinColumns elements ... . The joinColumns element must not be specified if a join table is used in the overriding of the mapping of the relationship. Since: JPA 1.0

javax.persistence.AssociationOverride.joinTable

JPA Annotation Attribute in javax.persistence.AssociationOverride JoinTable joinTable default @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

javax.jdo.annotations.Value

associated with this join . Specify "true" or "false". Since: JDO 2.1 String index default "" The name ... serialized (into a single column of a join table). Since: JDO 2.1 String table default "" Name

javax.jdo.annotations.Key

with this join . Specify "true" or "false". Since: JDO 2.1 String index default "" The name of the index ... column of a join table). Since: JDO 2.1 String table default "" Name of the table for the key