Best approach for many to many relationships in an optaplanner domain design

Viewed 263

Hi i would like to ask what approach to take when designing the domain for the problem that i am trying to solve, as i see in the examples the design tends to be like the entity relationship model where for instance a many to many relationship is solved by putting an associative entity between the two entities. My question is why is this so does it help in performance and should I follow this design pattern?

1 Answers
Related