Uses of Interface
org.hibernate.query.specification.SelectionSpecification
Packages that use SelectionSpecification
Package
Description
Support for SelectionSpecification
and MutationSpecification which
is similar in concept to criteria queries, but focused on ease-of-use and less verbosity.
-
Uses of SelectionSpecification in org.hibernate.query.specification
Methods in org.hibernate.query.specification that return SelectionSpecificationModifier and TypeMethodDescriptionSelectionSpecification.augment
(SelectionSpecification.Augmentation<T> augmentation) Add an augmentation to the specification.static <T> SelectionSpecification
<T> SelectionSpecification.create
(CriteriaQuery<T> criteria) Returns a specification reference which can be used to programmatically, iteratively build a SelectionQuery for the given criteria query, allowing the addition of sorting and restrictions.static <T> SelectionSpecification
<T> Returns a specification reference which can be used to programmatically, iteratively build a SelectionQuery for the given entity type, allowing the addition of sorting and restrictions.static <T> SelectionSpecification
<T> Returns a specification reference which can be used to programmatically, iteratively build a SelectionQuery based on a base HQL statement, allowing the addition of sorting and restrictions.Add a fetch path to the specification.Sets the sorting for this selection specification.Sets the ordering for this selection specification.SelectionSpecification.restrict
(Restriction<? super T> restriction) Adds an ordering to the selection specification.SelectionSpecification.validate
(CriteriaBuilder builder) Methods in org.hibernate.query.specification with parameters of type SelectionSpecificationModifier and TypeMethodDescriptionstatic <T> ProjectionSpecification
<T> ProjectionSpecification.create
(SelectionSpecification<T> selectionSpecification) Create a newProjectionSpecification
which augments the givenSelectionSpecification
.static <T,
X> SimpleProjectionSpecification <T, X> SimpleProjectionSpecification.create
(SelectionSpecification<T> selectionSpecification, SingularAttribute<? super T, X> projectedAttribute) Create a newProjectionSpecification
which augments the givenSelectionSpecification
.static <T,
X> SimpleProjectionSpecification <T, X> SimpleProjectionSpecification.create
(SelectionSpecification<T> selectionSpecification, Path<T, X> projectedPath) Create a newProjectionSpecification
which augments the givenSelectionSpecification
.