OPENJPA-2862 select SUM return types fixed

As per spec section 4.8.5 Aggregate Functions in the SELECT
clause we need to handle a few types in a special way
1 file changed