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