Package | Description |
---|---|
javax.persistence | |
javax.persistence.criteria |
Modifier and Type | Method and Description |
---|---|
Query |
EntityManager.createQuery(CriteriaUpdate updateQuery)
Create an instance of Query for executing a criteria update query.
|
Modifier and Type | Method and Description |
---|---|
<T> CriteriaUpdate<T> |
CriteriaBuilder.createCriteriaUpdate(Class<T> targetEntity)
Create a query object to perform a bulk update operation.
|
<Y> CriteriaUpdate<T> |
CriteriaUpdate.set(Path<Y> attribute,
Expression<? extends Y> value)
Update the value of the specified attribute.
|
<Y,X extends Y> |
CriteriaUpdate.set(Path<Y> attribute,
X value)
Update the value of the specified attribute.
|
<Y> CriteriaUpdate<T> |
CriteriaUpdate.set(SingularAttribute<? super T,Y> attribute,
Expression<? extends Y> value)
Update the value of the specified attribute.
|
<Y,X extends Y> |
CriteriaUpdate.set(SingularAttribute<? super T,Y> attribute,
X value)
Update the value of the specified attribute.
|
CriteriaUpdate<T> |
CriteriaUpdate.set(String attributeName,
Object value)
Update the value of the specified attribute.
|
CriteriaUpdate<T> |
CriteriaUpdate.where(Expression<Boolean> restriction)
Modify the query to restrict the target of the update according to the specified boolean expression.
|
CriteriaUpdate<T> |
CriteriaUpdate.where(Predicate... restrictions)
Modify the query to restrict the target of the update according to the conjunction of the specified
restriction predicates.
|
Copyright © 2020. All rights reserved.