Describe the bug
When a @ManytoMany relationship is not mapped to a List (e.g. to a Set) setting the values fails with a java.lang.IllegalArgumentException: argument type mismatch error. By default, we always pass a List to the setter method even if it expects a Set.
Describe the bug When a
@ManytoMany
relationship is not mapped to aList
(e.g. to aSet
) setting the values fails with ajava.lang.IllegalArgumentException: argument type mismatch
error. By default, we always pass aList
to the setter method even if it expects aSet
.