If you look at the JPQL you'll find your answer, which is why you haven't gotten
an answer. However, I'll give it to you:
select sum( d.amount) from Delivery d[/code/
| This will return the sum of the amount field for every Delivery.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070804#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...