JPQL supports SUM and artihtmetic functions in the same fields on query?
===

My query is like "select sum(m.value * m.currency) from bill m ", and failed gave me this exception java.lang.IllegalArgumentException: An exception occurred while creating a query in EntityManager: Exception Description: Syntax error parsing the query syntax error at [*]. I'm using eclipselink.