Hi all,
I'm using version 2.2 RC1 of the framework and I have some problems with ManyToMany association management.
I'm usign a class A that can be associated with many objects of class B and viceversa.
1) It is not clear to me what deleteAutomatic means in ManyToMany association. Does it refers to deleting the association record in the association table or to deleting the associated object?
2) If I add a new class B object to the associated objects of A, the framework seems not to set dirty the object A, as happens in OneToMany association. So when I save the object A the association record in the association table is not generated.
This is true also when I want to unassociate a class B object from A.
Is it by design or it is a bug?
Thanks for any answer!
Andrea
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all,
I'm using version 2.2 RC1 of the framework and I have some problems with ManyToMany association management.
I'm usign a class A that can be associated with many objects of class B and viceversa.
1) It is not clear to me what deleteAutomatic means in ManyToMany association. Does it refers to deleting the association record in the association table or to deleting the associated object?
2) If I add a new class B object to the associated objects of A, the framework seems not to set dirty the object A, as happens in OneToMany association. So when I save the object A the association record in the association table is not generated.
This is true also when I want to unassociate a class B object from A.
Is it by design or it is a bug?
Thanks for any answer!
Andrea