Laszlo Spoor wrote:
> ...
> (updating flattened relationships on hollow objects does not
> seem to work)
> ...
> The result is that nothing is being send to my datastore. But, if I do
> something
> like:
>
> pto.setName("anotherName");
> pto.addToType(pte);
> mContext.commitChanges();
>
> It works allright. The name is changed and the relationship is created. I
> could of course, remove the object from the datastore and recreate is
> (mySQL has no problem with that), but that seems a bit odd.
Try to 'touch' the pto object e.g. by calling pto.getName(), try again and
let us know what happens. I have an idea where and why this happens; if it
works after touching, we can pinpoint the problem better.
Holger
This archive was generated by hypermail 2.0.0 : Sun May 11 2003 - 11:57:23 EDT