Autosave changed referenced objects possible? [message #1218307] |
Fri, 29 November 2013 02:58  |
Eclipse User |
|
|
|
Let's say I have an object A and an object B. Both are contained in different Resources. Object A has a reference to B and object B has a reference to A. Both references are linked with EOpposite. So, when I do myA.setB(myB), myB.setA(myA) will be implicitly called.
But now, doing myA.eResource().save() will only save the A. Is there a mechanism to track the above side-effect modification and implicitly call myB.eResource().save() as well, or do I have to implement my own tracking to handle this save?
I thought using Resource.setTrackingModification(true) would do the trick, but that does not work.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03398 seconds