public abstract static class JpaUtils.CriteriaUpdate<T> extends Object
CriteriaUpdate
wrapper that initialises commonly used JPA variables.
You can customise the query through apply()
and run it with
executeUpdate()
Modifier and Type | Field and Description |
---|---|
protected javax.persistence.criteria.CriteriaBuilder |
cb |
protected javax.persistence.criteria.Root<T> |
entity |
protected javax.persistence.criteria.CriteriaUpdate<T> |
update |
Modifier | Constructor and Description |
---|---|
protected |
CriteriaUpdate(org.hibernate.SessionFactory sessionFactory,
Class<T> entity) |
Modifier and Type | Method and Description |
---|---|
abstract void |
apply() |
void |
executeUpdate() |
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.