JPA - How to efficiently get all children of a parent by JPA?

前端 未结 0 1522
孤街浪徒
孤街浪徒 2020-12-22 04:58

Having a parent and child class as below

@Entity
class Parent {

   @Id
   Long id;

   @OneToMany(orphanRemoval = true, cascade = CascadeType.ALL)
   List<         


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