Package | Description |
---|---|
javax.persistence | |
javax.persistence.criteria |
Modifier and Type | Method and Description |
---|---|
Query |
EntityManager.createQuery(CriteriaDelete deleteQuery)
Create an instance of Query for executing a criteria delete query.
|
Modifier and Type | Method and Description |
---|---|
<T> CriteriaDelete<T> |
CriteriaBuilder.createCriteriaDelete(Class<T> targetEntity)
Create a query object to perform a bulk delete operation.
|
CriteriaDelete<T> |
CriteriaDelete.where(Expression<Boolean> restriction)
Modify the query to restrict the target of the deletion according to the specified boolean expression.
|
CriteriaDelete<T> |
CriteriaDelete.where(Predicate... restrictions)
Modify the query to restrict the target of the deletion according to the conjunction of the specified
restriction predicates.
|
Copyright © 2020. All rights reserved.