Package com.atlassian.bamboo.jpa
Class JpaUtils
- java.lang.Object
-
- com.atlassian.bamboo.jpa.JpaUtils
-
public class JpaUtils extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JpaUtils.Accumulator
static class
JpaUtils.CriteriaDelete<T>
Creates aCriteriaDelete
wrapper that initialises commonly used JPA variables.static class
JpaUtils.CriteriaQuery<E,R>
Creates aCriteriaQuery
wrapper that initialises commonly used JPA variables.static class
JpaUtils.CriteriaUpdate<T>
Creates aCriteriaUpdate
wrapper that initialises commonly used JPA variables.static class
JpaUtils.CriteriaVersionUpdater<E,R,T>
Creates a custom wrapper that initialises commonly used JPA variables in order to increment entity's root version.static class
JpaUtils.PartitionedCriteriaDelete<T,I>
Creates aCriteriaDelete
wrapper that initialises commonly used JPA variables.
-
Constructor Summary
Constructors Constructor Description JpaUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JpaUtils.Accumulator
accumulator()
static <T,E>
List<T>listCriteria(DbmsBean dbmsBean, org.hibernate.Session session, Class<T> targetClass, Class<? extends T> persistentClass, String propertyName, Collection<E> values)
Runs queries with predicate wherein .
-
-
-
Method Detail
-
accumulator
public static JpaUtils.Accumulator accumulator()
-
-