Open johannest opened 7 years ago
Not critical issue.
Unidirectional @OneToMany without @JoinColumn might cause unexpected issues in the future in some databases, since join table is autogenerated.
https://en.wikibooks.org/wiki/Java_Persistence/OneToMany#Unidirectional_OneToMany.2C_No_Inverse_ManyToOne.2C_No_Join_Table_.28JPA_2.x_ONLY.29 https://stackoverflow.com/questions/2095998/onetomany-without-inverse-relationship-and-without-a-join-table
Not critical issue.
Unidirectional @OneToMany without @JoinColumn might cause unexpected issues in the future in some databases, since join table is autogenerated.
https://en.wikibooks.org/wiki/Java_Persistence/OneToMany#Unidirectional_OneToMany.2C_No_Inverse_ManyToOne.2C_No_Join_Table_.28JPA_2.x_ONLY.29 https://stackoverflow.com/questions/2095998/onetomany-without-inverse-relationship-and-without-a-join-table