A Java 8 library that implements the update feature for a Spring Data REST project when a POST, PATCH, PUT or DELETE method is invoked on a
mappedBy @ManyToMany annotated field.
Check the test folder for a fast implementation of the library. Remember to:
- Annotate the
@SpringBootApplicationclass with the@EnableHandledBackrelationsannotation; - Implement a
BackrelationHandleras inCompanyCityBackrelationHandlertest; - Annotate a
@ManyToMany(mappedBy=frontRelationField)field with a@HandledBackrelationannotation setting the correctBackrelationHandlerbean type value.