@Override
public <V extends Number & Comparable<V>> Number sum(
Object aggregate, Class<V> collectClass)
{
JPAQueryComposer<V> result = applyTransformWithLambda(new AggregateTransform(getConfig(), AggregateTransform.AggregateType.SUM), aggregate);
if (result != null)
return result.executeAndGetSingleResult();
translationFail();
return null;
}