Top Description Methods
org.hibernate.query.criteria

public Interface JpaPluralJoin<O, C, E>

extends JpaJoin<O, E>, PluralJoin<O, C, E>
Known Direct Subinterfaces
org.hibernate.query.criteria.JpaSetJoin, org.hibernate.query.criteria.JpaCollectionJoin, org.hibernate.query.criteria.JpaListJoin, org.hibernate.query.criteria.JpaMapJoin
Imports
org.hibernate.metamodel.model.domain.EntityDomainType, .PluralPersistentAttribute, jakarta.persistence.criteria.Expression, .PluralJoin, .Predicate

Specialization of JpaJoin for java.util.Set typed attribute joins
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public PluralPersistentAttribute<? super O, C, E>
getAttribute()

Redeclares org.hibernate.query.criteria.JpaJoin.getAttribute, jakarta.persistence.criteria.Join.getAttribute.

Return the metamodel attribute corresponding to the join.
public JpaPluralJoin<O, ? extends C, E>
public JpaPluralJoin<O, ? extends C, E>
on(Expression<Boolean>
a simple or compound boolean expression
restriction
)

Redeclares org.hibernate.query.criteria.JpaJoin.on, jakarta.persistence.criteria.Join.on.

Modify the join to restrict the result according to the specified ON condition and return the join object.
public JpaPluralJoin<O, ? extends C, E>
public JpaPluralJoin<O, ? extends C, E>
on(Predicate...
zero or more restriction predicates
restrictions
)

Redeclares org.hibernate.query.criteria.JpaJoin.on, jakarta.persistence.criteria.Join.on.

Modify the join to restrict the result according to the specified ON condition and return the join object.
public <S extends E> JpaPluralJoin<O, ?, S>
treatAs(Class<S> treatAsType)

Redeclares org.hibernate.query.criteria.JpaJoin.treatAs.

Support for JPA's explicit (TREAT) down-casting.
public <S extends E> JpaPluralJoin<O, ?, S>
treatAs(EntityDomainType<S> treatAsType)

Redeclares org.hibernate.query.criteria.JpaJoin.treatAs.

Support for JPA's explicit (TREAT) down-casting.
Inherited from jakarta.persistence.criteria.PluralJoin:
getModel

Method Detail

getAttributeback to summary
public PluralPersistentAttribute<? super O, C, E> getAttribute()

Redeclares org.hibernate.query.criteria.JpaJoin.getAttribute, jakarta.persistence.criteria.Join.getAttribute.

Doc from jakarta.persistence.criteria.Join.getAttribute.

Return the metamodel attribute corresponding to the join.

Returns:PluralPersistentAttribute<? super O, C, E>

metamodel attribute corresponding to the join

Annotations
@Override
onback to summary
public JpaPluralJoin<O, ? extends C, E> on(JpaExpression<Boolean> restriction)

Redeclares org.hibernate.query.criteria.JpaJoin.on.

Annotations
@Override
onback to summary
public JpaPluralJoin<O, ? extends C, E> on(Expression<Boolean> restriction)

Redeclares org.hibernate.query.criteria.JpaJoin.on, jakarta.persistence.criteria.Join.on.

Doc from jakarta.persistence.criteria.Join.on.

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:Expression<Boolean>

a simple or compound boolean expression

Returns:JpaPluralJoin<O, ? extends C, E>

the modified join object

Annotations
@Override
onback to summary
public JpaPluralJoin<O, ? extends C, E> on(JpaPredicate... restrictions)

Redeclares org.hibernate.query.criteria.JpaJoin.on.

Annotations
@Override
onback to summary
public JpaPluralJoin<O, ? extends C, E> on(Predicate... restrictions)

Redeclares org.hibernate.query.criteria.JpaJoin.on, jakarta.persistence.criteria.Join.on.

Doc from jakarta.persistence.criteria.Join.on.

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:Predicate[]

zero or more restriction predicates

Returns:JpaPluralJoin<O, ? extends C, E>

the modified join object

Annotations
@Override
treatAsback to summary
public <S extends E> JpaPluralJoin<O, ?, S> treatAs(Class<S> treatAsType)

Redeclares org.hibernate.query.criteria.JpaJoin.treatAs.

Doc from org.hibernate.query.criteria.JpaPath.treatAs.

Support for JPA's explicit (TREAT) down-casting.

Annotations
@Override
treatAsback to summary
public <S extends E> JpaPluralJoin<O, ?, S> treatAs(EntityDomainType<S> treatAsType)

Redeclares org.hibernate.query.criteria.JpaJoin.treatAs.

Doc from org.hibernate.query.criteria.JpaPath.treatAs.

Support for JPA's explicit (TREAT) down-casting.

Annotations
@Override