Often the time @ManyToMany may not necessarily have mappedBy attribute. For instance, a product can have a list of AddOn items. Product and AddOn are @ManyTo@Many relationship. An AddOn can be in many product, not particular product. So it doesn't have property "product". It can't do mappedBy unless we add another entity ProductAddOn which adds unnecessary complexity. However, without mappedBy, I can't use @AdminPresentationCollection. It throws exception.
Any workaround other than adding extra entity like ProductAddOn?
Thank you!
-Charlie
This forum is in readonly mode and serves as an archive of old information. All posting, registration and commenting abilities have been turned off. To get help, the Broadleaf team reguarly monitors the broadleaf-commerce tag on Stack Overflow so please ask your questions there.