[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Accessing collections from queries

jim.barrows do-not-reply at jboss.com
Fri Aug 3 17:41:00 EDT 2007


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#4070804

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070804



More information about the jboss-user mailing list