JPARepository get entities grouped by parent id

前端 未结 0 535
执笔经年
执笔经年 2021-01-06 11:46

Given the entities (in pseudo code):

class Parent {
  @Id
  Long id;
  @OneToMany(mappedBy = "parent", cascade = CascadeType.ALL, orphanRemoval = tr         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题