public static class JpaUtils.CriteriaDeleteWrapper<T> extends Object
CriteriaDelete
wrapper that initialises commonly used JPA variables.
You can customise the query through #apply(CriteriaDeleteAdapter)
and run it through
executeUpdate()
Constructor and Description |
---|
CriteriaDeleteWrapper(org.hibernate.SessionFactory sessionFactory,
Class<T> entity) |
Modifier and Type | Method and Description |
---|---|
void |
apply(JpaUtils.CriteriaDeleteAdapter<T> queryAdapter) |
void |
executeUpdate() |
public void apply(JpaUtils.CriteriaDeleteAdapter<T> queryAdapter)
public void executeUpdate()
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.