## Uses of Interface
javax.persistence.criteria.CriteriaDelete

- Packages that use CriteriaDelete
  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

- - ### Uses of CriteriaDelete in javax.persistence

    Methods in javax.persistence with parameters of type CriteriaDelete
    Modifier and Type | Method and Description
    --- | ---
    `Query` | EntityManager.`createQuery(CriteriaDelete deleteQuery)` Create an instance of `Query` for executing a criteria delete query.

  - ### Uses of CriteriaDelete in javax.persistence.criteria

    Methods in javax.persistence.criteria that return CriteriaDelete
    Modifier and Type | Method and Description
    --- | ---
    `<T> CriteriaDelete<T>` | CriteriaBuilder.`createCriteriaDelete(Class<T> targetEntity)` Create a `CriteriaDelete` query object to perform a bulk delete operation.
    `CriteriaDelete<T>` | CriteriaDelete.`where(Expression<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 © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.