Interface JpaCriteriaUpdate<T>
- All Superinterfaces:
CommonAbstractCriteria, CriteriaStatement<T>, CriteriaUpdate<T>, JpaCriteriaBase, JpaCriteriaNode, JpaCteContainer, JpaManipulationCriteria<T>, JpaQueryableCriteria<T>, Serializable
- All Known Implementing Classes:
SqmUpdateStatement
-
Method Summary
Modifier and TypeMethodDescriptionfrom(EntityType<T> entity) Create the root for the target entity.Create the root for the target entity.getRoot()Return the root of this criteria statement.booleanReturn whether this update statement is versioned.<Y> JpaCriteriaUpdate<T> set(Path<Y> attribute, Expression<? extends Y> value) Set an attribute value for this update statement.<Y, X extends Y>
JpaCriteriaUpdate<T> Set an attribute value for this update statement.<Y> JpaCriteriaUpdate<T> set(SingularAttribute<? super T, Y> attribute, Expression<? extends Y> value) Set an attribute value for this update statement.<Y, X extends Y>
JpaCriteriaUpdate<T> set(SingularAttribute<? super T, Y> attribute, X value) Set an attribute value for this update statement.Set an attribute value for this update statement.Mark this update statement as versioned.versioned(boolean versioned) Set whether this update statement is versioned.where(BooleanExpression... restrictions) Set the restriction.where(Expression<Boolean> restriction) Set the restriction.where(List<? extends Expression<Boolean>> restrictions) Set the restriction.Methods inherited from interface CommonAbstractCriteria
getParameters, subqueryMethods inherited from interface JpaCriteriaBase
getRestriction, subqueryMethods inherited from interface JpaCteContainer
getCteCriteria, getCteCriterias, with, with, withRecursiveUnionAll, withRecursiveUnionAll, withRecursiveUnionDistinct, withRecursiveUnionDistinctMethods inherited from interface JpaManipulationCriteria
getTarget, setTarget
-
Method Details
-
isVersioned
boolean isVersioned()Return whether this update statement is versioned. -
versioned
Mark this update statement as versioned. -
versioned
Set whether this update statement is versioned. -
from
-
from
Create the root for the target entity.- Specified by:
fromin interfaceCriteriaStatement<T>
-
set
@Nonnull <Y, X extends Y> JpaCriteriaUpdate<T> set(@Nonnull SingularAttribute<? super T, Y> attribute, @Nullable X value) Set an attribute value for this update statement.- Specified by:
setin interfaceCriteriaUpdate<T>
-
set
@Nonnull <Y> JpaCriteriaUpdate<T> set(@Nonnull SingularAttribute<? super T, Y> attribute, @Nonnull Expression<? extends Y> value) Set an attribute value for this update statement.- Specified by:
setin interfaceCriteriaUpdate<T>
-
set
Set an attribute value for this update statement.- Specified by:
setin interfaceCriteriaUpdate<T>
-
set
@Nonnull <Y> JpaCriteriaUpdate<T> set(@Nonnull Path<Y> attribute, @Nonnull Expression<? extends Y> value) Set an attribute value for this update statement.- Specified by:
setin interfaceCriteriaUpdate<T>
-
set
Set an attribute value for this update statement.- Specified by:
setin interfaceCriteriaUpdate<T>
-
getRoot
-
where
Set the restriction.- Specified by:
wherein interfaceCriteriaUpdate<T>
-
where
Set the restriction.- Specified by:
wherein interfaceCriteriaUpdate<T>
-
where
Set the restriction.- Specified by:
wherein interfaceCriteriaUpdate<T>
-