public abstract static class JpaUtils.PartitionedCriteriaDelete<T,I> extends Object
CriteriaDelete
wrapper that initialises commonly used JPA variables.
It will automatically partition the supplied collection and execute apply(List)
if need be.
You can customise the queries through apply(List)
and run them with
executeUpdates(Collection)
Modifier | Constructor and Description |
---|---|
protected |
PartitionedCriteriaDelete(DbmsBean dbmsBean,
org.hibernate.SessionFactory sessionFactory,
Class<T> entity) |
Modifier and Type | Method and Description |
---|---|
abstract void |
apply(List<I> partition) |
void |
executeUpdates(Collection<I> values) |
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.