How can I prevent this DataIntegrityViolationException when saving a new entity?

前端 未结 0 1189
忘掉有多难
忘掉有多难 2021-02-09 20:51

In my JPA model, I have Student, Course, and Attendance entities. Attendance represents a join-table between Student and Course and has a unique constraint to ensure that a Stud

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