Package org.hibernate.query.criteria
Interface JpaCriteriaUpdate<T>
-
- All Superinterfaces:
CommonAbstractCriteria
,CriteriaUpdate<T>
,JpaCriteriaBase
,JpaCriteriaNode
,JpaCteContainer
,JpaManipulationCriteria<T>
,JpaQueryableCriteria<T>
,Serializable
- All Known Implementing Classes:
SqmUpdateStatement
public interface JpaCriteriaUpdate<T> extends JpaManipulationCriteria<T>, CriteriaUpdate<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JpaRoot<T>
from(EntityType<T> entity)
JpaRoot<T>
from(Class<T> entityClass)
JpaRoot<T>
getRoot()
boolean
isVersioned()
<Y> JpaCriteriaUpdate<T>
set(Path<Y> attribute, Expression<? extends Y> value)
<Y,X extends Y>
JpaCriteriaUpdate<T>set(Path<Y> attribute, X value)
<Y> JpaCriteriaUpdate<T>
set(SingularAttribute<? super T,Y> attribute, Expression<? extends Y> value)
<Y,X extends Y>
JpaCriteriaUpdate<T>set(SingularAttribute<? super T,Y> attribute, X value)
JpaCriteriaUpdate<T>
set(String attributeName, Object value)
JpaCriteriaUpdate<T>
versioned()
JpaCriteriaUpdate<T>
versioned(boolean versioned)
JpaCriteriaUpdate<T>
where(Expression<Boolean> restriction)
JpaCriteriaUpdate<T>
where(Predicate... restrictions)
-
Methods inherited from interface org.hibernate.query.criteria.JpaCriteriaBase
getRestriction, subquery
-
Methods inherited from interface org.hibernate.query.criteria.JpaCteContainer
getCteCriteria, getCteCriterias, with, with, withRecursiveUnionAll, withRecursiveUnionAll, withRecursiveUnionDistinct, withRecursiveUnionDistinct
-
Methods inherited from interface org.hibernate.query.criteria.JpaManipulationCriteria
getTarget, setTarget
-
-
-
-
Method Detail
-
isVersioned
boolean isVersioned()
-
versioned
JpaCriteriaUpdate<T> versioned()
-
versioned
JpaCriteriaUpdate<T> versioned(boolean versioned)
-
from
JpaRoot<T> from(EntityType<T> entity)
- Specified by:
from
in interfaceCriteriaUpdate<T>
-
set
<Y,X extends Y> JpaCriteriaUpdate<T> set(SingularAttribute<? super T,Y> attribute, X value)
- Specified by:
set
in interfaceCriteriaUpdate<T>
-
set
<Y> JpaCriteriaUpdate<T> set(SingularAttribute<? super T,Y> attribute, Expression<? extends Y> value)
- Specified by:
set
in interfaceCriteriaUpdate<T>
-
set
<Y,X extends Y> JpaCriteriaUpdate<T> set(Path<Y> attribute, X value)
- Specified by:
set
in interfaceCriteriaUpdate<T>
-
set
<Y> JpaCriteriaUpdate<T> set(Path<Y> attribute, Expression<? extends Y> value)
- Specified by:
set
in interfaceCriteriaUpdate<T>
-
set
JpaCriteriaUpdate<T> set(String attributeName, Object value)
- Specified by:
set
in interfaceCriteriaUpdate<T>
-
getRoot
JpaRoot<T> getRoot()
- Specified by:
getRoot
in interfaceCriteriaUpdate<T>
-
where
JpaCriteriaUpdate<T> where(Expression<Boolean> restriction)
- Specified by:
where
in interfaceCriteriaUpdate<T>
-
where
JpaCriteriaUpdate<T> where(Predicate... restrictions)
- Specified by:
where
in interfaceCriteriaUpdate<T>
-
-