Package com.atlassian.bamboo.jpa
Class JpaUtils.CriteriaUpdate<T>
- java.lang.Object
-
- com.atlassian.bamboo.jpa.JpaUtils.CriteriaUpdate<T>
-
- Enclosing class:
- JpaUtils
public abstract static class JpaUtils.CriteriaUpdate<T> extends Object
Creates aCriteriaUpdate
wrapper that initialises commonly used JPA variables. You can customise the query throughapply()
and run it withexecuteUpdate()
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CriteriaUpdate(org.hibernate.SessionFactory sessionFactory, Class<T> entity)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
apply()
void
executeUpdate()
-