ObjectDB ObjectDB

javax.persistence.criteria.FetchParent - JPA interface

javax.persistence.criteria
Interface FetchParent<Z,X>

Subinterfaces:
CollectionJoin, Fetch, From, Join, ListJoin, MapJoin, PluralJoin, Root, SetJoin
Represents an element of the from clause which may function as the parent of Fetches.
Since:
JPA 2.0
Fetch<X,Y> fetch(String attributeName)
Create a fetch join to the specified attribute using an inner join.
Create a fetch join to the specified attribute using an inner join.
Parameters:
attributeName - name of the attribute for the target of the join
Returns:
the resulting fetch join
Throws:
IllegalArgumentException - if attribute of the given name does not exist
Since:
JPA 2.0
Fetch<X,Y> fetch(String attributeName, JoinType jt)
Create a fetch join to the specified attribute using the given join type.
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
Returns:
the resulting fetch join
Throws:
IllegalArgumentException - if attribute of the given name does not exist
Since:
JPA 2.0
Create a fetch join to the specified collection-valued attribute using an inner join.
Create a fetch join to the specified collection-valued attribute using an inner join.
Parameters:
attribute - target of the join
Returns:
the resulting join
Since:
JPA 2.0
Create a fetch join to the specified single-valued attribute using an inner join.
Create a fetch join to the specified single-valued attribute using an inner join.
Parameters:
attribute - target of the join
Returns:
the resulting fetch join
Since:
JPA 2.0
Create a fetch join to the specified collection-valued attribute using the given join type.
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
Create a fetch join to the specified single-valued attribute using the given join type.
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
Return the fetch joins that have been made from this type.
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.
Returns:
fetch joins made from this type
Since:
JPA 2.0