Interface CriteriaDeleteBuilder
- All Superinterfaces:
QueryBuilderBase<CriteriaDeleteBuilder,
CriteriaDeleteWrapper<Entity>>
- All Known Implementing Classes:
CriteriaDeleteBuilderImpl
public interface CriteriaDeleteBuilder
extends QueryBuilderBase<CriteriaDeleteBuilder,CriteriaDeleteWrapper<Entity>>
A query builder that can be used to delete multiple entities by a query.
This is more efficient than deleting single entities, especially if no listeners need to be executed
for the deleted entities.
Note: Listeners will be called anyway, but may cause a decrease in performance, as the entities to be deleted
need to be loaded from the database first.
- See Also:
-
Method Summary
Methods inherited from interface ch.tocco.nice2.persist.core.api.hibernate.query.builder.QueryBuilderBase
addParameter, build, getCriteriaBuilder, getPredicates, getQueryRoot, getSubqueryFactory, where, where, where, where, whereInsecure, whereInsecure, whereInsecure