How to use cascade.delete / orphanremoval in onetoone and manytoone unidirectional relationships in JPA?

前端 未结 0 2025
独厮守ぢ
独厮守ぢ 2021-01-30 05:47

lets assume that I have entities below;

class Airport {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "Id", unique          


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