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