JPA GROUP BY entity - is this possible?

前端 未结 3 1602
逝去的感伤
逝去的感伤 2021-02-07 03:16

Is possible to select data in JPA with grouping by referenced entity?

I mean: I have two entities - insurance and referenced many-to-one vehicle. Insurance entity has va

3条回答
  •  遥遥无期
    2021-02-07 03:46

    Apparently the JPA spec allows that but at least Hibernate's implementation does not support it (see HHH-2436 and HHH-1615).

提交回复
热议问题