Closed rainerhahnekamp closed 6 years ago
Careful with the naming. It is Application
and not Applicant
. Applicant is a person, but in our case the person is already the user.
Please rename that and don't use an int in the entitiy but classes as properties. So Role, Project and User
The relations are not @OneToOne
but @ManyToOne
We have to create the relationship for the applicants. So between UserRole and User