Good afternoon, I have a relatively simple question, but I'm a bit confused.
I have the following relationship:
Asyoucanseeitisarelationship@ManyToMany
Ineedtosaveanewgame,soIneedtosaveitinaBidirectionalway.ButwhensavingIcomeacrossthefollowingerror:
IwouldliketoknowhowtosaveanewGames.Belowisthecode.
Entity-Games
Entity-Campus
savemethodofResourceGames
TheJSONthatcomestometosaveisthis:
OBS-Youremovethecascade=CascadeType.ALLfromthelistunderGames.Givesthefollowingerror:
In short. How do I get these Games that came and save it, so Bidirectional ?