JPA Method
in javax.persistence.criteria.CriteriaBuilder

Expression<N> max(
  Expression<N> x
)


Create an aggregate expression applying the numerical max operation.
Parameters:
x - expression representing input value to max operation
Return:
max expression
Since:
JPA 2.0