Guest User

Untitled

a guest
Jan 21st, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.21 KB | None | 0 0
  1. public class A{
  2.     private Integer id;
  3. }
  4.  
  5. public class B{
  6.     private Integer id;
  7.     private A a;
  8.     private BigDecimal jml;
  9. }
  10.  
  11.  
  12. HQL : select sum(b.jml) from B b where b.a.id = :idnyaA group by b.a.id
Add Comment
Please, Sign In to add comment