JPA Method
in javax.persistence.criteria.CriteriaUpdate

Root<T> from(
  Class<T> entityClass
)


Create and add a query root corresponding to the entity that is the target of the update. A CriteriaUpdate object has a single root, the entity that is being updated.
Parameters:
entityClass - the entity class
Return:
query root corresponding to the given entity
Since:
JPA 2.1