users@glassfish.java.net

Re: subquery: select sum(x.fieldA + x.fieldB).... help!

From: <glassfish_at_javadesktop.org>
Date: Thu, 05 Apr 2007 07:50:58 PDT

The issue here is that the specification does not allow arithmatic within the select clause of the Query. I would recommend filing an enhancement request against TopLink Essentials and altering your application to use a Native Query.
--Gordon
[Message sent by forum member 'gyorke' (gyorke)]

http://forums.java.net/jive/thread.jspa?messageID=211294