Prevent hibernate delete @Transient child objects automatically when parent is saved

前端 未结 0 1880
野的像风
野的像风 2021-02-19 10:37

In Spring JPA, I declared a childs list as @Transient which I don\'t want to persist with parent. Problem is when I saved its parent, the childs list was deleted by hibernate. F

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