Bidirection ManyToMany that only works one way #9573
Unanswered
toto33331
asked this question in
Support Questions
Replies: 1 comment 2 replies
-
Yes, the relation is managed on the owning side and only on the owning side. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I hope I post on the good place. I have a bidirectional ManyToMany that only works on one side (the owning side ? IDK)
Here is some code to explain:
class GlobalContent :
class Groupement:
This code as it is only works if I add/remove some Groupment from a GlobalContent object. From a Groupment object, I can get all the related GlobalContent objects without any problem.
But if I switch the sides (inversedBy + JoinTable and MappedBy) the code only works the other way, if I add/remove some GlobalContent from a Groupment object.
Any suggestion ? I've tried a shitload of things and nothing worked
Beta Was this translation helpful? Give feedback.
All reactions