Uses of Interface
jakarta.persistence.criteria.CriteriaDelete
Packages that use CriteriaDelete
Package
Description
Defines the Jakarta Persistence Criteria Query API.
-
Uses of CriteriaDelete in jakarta.persistence.criteria
Methods in jakarta.persistence.criteria that return CriteriaDeleteModifier and TypeMethodDescription<T> CriteriaDelete<T> CriteriaBuilder.createCriteriaDelete(Class<T> targetEntity) Create aCriteriaDeleteobject to perform a bulk delete operation.<T> CriteriaDelete<T> CriteriaBuilder.createCriteriaDelete(Class<T> targetEntity, String jpql) Create aCriteriaDeleteobject representing the given Jakarta Persistence query languageDELETEquery with the given target entity type.CriteriaBuilder.createCriteriaDelete(String jpql) Create aCriteriaDeleteobject representing the given Jakarta Persistence query languageDELETEquery.CriteriaDelete.where(BooleanExpression... restrictions) Modify the DELETE query to restrict the target of the deletion according to the conjunction of the specified restriction predicates.CriteriaDelete.where(Expression<Boolean> restriction) Modify the DELETE query to restrict the target of the deletion according to the specified boolean expression.CriteriaDelete.where(List<? extends Expression<Boolean>> restrictions) Modify the DELETE query to restrict the target of the deletion according to the conjunction of the specified restriction predicates.