Assign when exist and insert and assign when not exist - @ManyToMany in JPA

后端 未结 0 670
名媛妹妹
名媛妹妹 2021-01-16 21:24

Hello I have a Book and Category enities connected in @ManyToMany relation. I want Category name to be unique so I have set it as @Column(unique=true) and same

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