Uses of Interface
jakarta.persistence.criteria.CollectionJoin
-
Uses of CollectionJoin in jakarta.persistence.criteria
Modifier and TypeMethodDescription<X,
Y> CollectionJoin<X, Y> Subquery.correlate
(CollectionJoin<X, Y> parentCollection) Create a subquery collection join object correlated to a collection join object of the enclosing query.<Y> CollectionJoin<X,
Y> From.join
(CollectionAttribute<? super X, Y> collection) Create an inner join to the specifiedCollection
-valued attribute.<Y> CollectionJoin<X,
Y> From.join
(CollectionAttribute<? super X, Y> collection, JoinType jt) Create a join to the specifiedCollection
-valued attribute using the given join type.<X,
Y> CollectionJoin<X, Y> From.joinCollection
(String attributeName) Create an inner join to the specifiedCollection
-valued attribute.<X,
Y> CollectionJoin<X, Y> From.joinCollection
(String attributeName, JoinType jt) Create a join to the specifiedCollection
-valued attribute using the given join type.CollectionJoin.on
(Expression<Boolean> restriction) Modify the join to restrict the result according to the specified ON condition and return the join object.Modify the join to restrict the result according to the specified ON condition and return the join object.<X,
T, E extends T>
CollectionJoin<X,E> CriteriaBuilder.treat
(CollectionJoin<X, T> join, Class<E> type) Downcast CollectionJoin object to the specified type.Modifier and TypeMethodDescription<X,
Y> CollectionJoin<X, Y> Subquery.correlate
(CollectionJoin<X, Y> parentCollection) Create a subquery collection join object correlated to a collection join object of the enclosing query.<X,
T, E extends T>
CollectionJoin<X,E> CriteriaBuilder.treat
(CollectionJoin<X, T> join, Class<E> type) Downcast CollectionJoin object to the specified type.