-
CriteriaFactory.createCriteria(jakarta.persistence.criteria.CriteriaBuilder builder,
jakarta.persistence.criteria.CriteriaQuery<RETURN> query,
jakarta.persistence.criteria.Root<ENTITY> root)
Creates and returns a Criteria containing the provided builder,
query and root.
default <ENTITY> Criteria<ENTITY,ENTITY>
CriteriaFactory.createCriteria(jakarta.persistence.EntityManager entityManager,
Class<ENTITY> entityClass)
Creates and returns a Criteria where the CriteriaBuilder,
CriteriaQuery and Root are created by the provided entityManager.
default <ENTITY,
RETURN>
Criteria<ENTITY,RETURN>
CriteriaFactory.createCriteria(jakarta.persistence.EntityManager entityManager,
Class<ENTITY> entityClass,
Class<RETURN> returnClass)
Creates and returns a Criteria where the CriteriaBuilder,
CriteriaQuery and Root are created by the provided entityManager.
<ENTITY> List<jakarta.persistence.criteria.Order>
Creates and returns a JPA Order with the Comparator serving as the
model from which the Order is created.
<ENTITY> jakarta.persistence.criteria.Predicate
Creates and returns a JPA Predicate with the SpeedmentPredicate serving
as the model.