ObjectDB ObjectDB

sumAsDouble(x) - JPA CriteriaBuilder's method

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
Returns:
sum expression
Since:
JPA 2.0