sum « Criteria « JPA Q&A





1. Using sum() in hibernate criteria    stackoverflow.com

How can I write the sql query select sum(amount * direction) from transactions into hibernate criteria ?

3. Can I get a sum using Criteria?    forum.hibernate.org