Package | Description |
---|---|
javax.persistence |
Java Persistence is the API for the management for persistence and object/relational mapping.
|
javax.persistence.criteria |
Java Persistence Criteria API
|
Modifier and Type | Method | Description |
---|---|---|
Query |
EntityManager.createQuery(CriteriaUpdate updateQuery) |
Create an instance of
Query for executing a criteria
update query. |
Modifier and Type | Method | Description |
---|---|---|
<T> CriteriaUpdate<T> |
CriteriaBuilder.createCriteriaUpdate(java.lang.Class<T> targetEntity) |
Create a
CriteriaUpdate query object to perform a bulk update operation. |
CriteriaUpdate<T> |
CriteriaUpdate.set(java.lang.String attributeName,
java.lang.Object value) |
Update the value of the specified attribute.
|
<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.where(Expression<java.lang.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 © 2018. All rights reserved.