Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class A{
- private Integer id;
- }
- public class B{
- private Integer id;
- private A a;
- private BigDecimal jml;
- }
- HQL : select b.a, sum(b.jml) from B b group by b.a having b.a.id = :idnyaA
Add Comment
Please, Sign In to add comment