Extra columns in many-to-many Spring Data JPA Relationship with minimal changes
问题 I need to make a change in the project's model. Nowadays we have two classes with bidirectional many-to-many relationship (which implies in an relationship table) and need now to add extra informations to the relationship. My question is: The only way to do it is create a class for the relationship (e.g. creating this one with the same name of the relationship table that already exists)? I'm asking it because if we need to change the above relationship in the project, the change will be very