JPA Method
in javax.persistence.criteria.CriteriaBuilder

Expression<Double> sumAsDouble(
  Expression<Float> x
)


Create an aggregate expression applying the sum operation to a Float-valued expression, returning a Double result.
Parameters:
x - expression representing input value to sum operation
Return:
sum expression
Since:
JPA 2.0