Package | Description |
---|---|
javax.persistence |
Jakarta Persistence is the API for the management for persistence and object/relational mapping.
|
javax.persistence.criteria |
Jakarta Persistence Criteria API
|
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
CriteriaUpdate 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 update query to restrict the target of the update
according to the specified boolean expression.
|
CriteriaUpdate<T> |
CriteriaUpdate.where(Predicate... restrictions)
Modify the update query to restrict the target of the update
according to the conjunction of the specified restriction
predicates.
|
Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.