Re: [Modeling-users] Declaring and using a nested EditingContext
Status: Abandoned
Brought to you by:
sbigaret
From:
<sbi...@us...> - 2006-07-05 14:53:49
|
Hi Paul & all, pms...@so... wrote: [...] > However, I can't quite get what is meant by the sentence: >=20 > - the states of the objects in the result set will reflect any change= s=20 > made to them in the parent object store, even the uncommitted ones. >=20 > From testing, when I change an object held by the parent EC, and then=20 > do a fetch on that object in the child, the change is not shown in the=20 > object held by the child EC. Your understanding is correct, and the changes should appear in the child= context. If they are not, it is definitely a bug. Could you please send me your example, where the bug appear? This is som= ething I did not observe from now on, and I'll be glad to examine and fix= it. Cheers, -- S=E9bastien. PS: Oh, BTW, this is tested in tests/test_EditingContext_ParentChildpy, m= ethod test_03_fetchedAndModifiedObjectsInParent() pms...@so... a =E9crit : > Hi all, >=20 > I am reading chapter "5.2 Declaring and using a nested EditingContext"=20 > in the user guide on the web: >=20 > http://modeling.sourceforge.net/UserGuide/nested-ec-usage.html >=20 > I understand and can verify by testing (I am using modeling release 0.9= )=20 > that: >=20 > 1. Inserting an object in the parent EC will show up in a fetch in the=20 > child EC. >=20 > 2. Deleting an object in the parent EC deletes it from the result set i= n=20 > the child EC. >=20 > However, I can't quite get what is meant by the sentence: >=20 > - the states of the objects in the result set will reflect any change= s=20 > made to them in the parent object store, even the uncommitted ones. >=20 > From testing, when I change an object held by the parent EC, and then=20 > do a fetch on that object in the child, the change is not shown in the=20 > object held by the child EC. >=20 > Can anyone get me on the right track here? >=20 > And last, but not least, thanks for all the work on this magnificent=20 > framework :-) >=20 > Cheers > Paul >=20 > Using Tomcat but need to do more? Need to support web services, securit= y? > Get stuff done quickly with pre-integrated technology to make your job = easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geron= imo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121642 > _______________________________________________ > Modeling-users mailing list > Mod...@li... > https://lists.sourceforge.net/lists/listinfo/modeling-users >=20 >=20 |