*@Simon : *Ok. so here we are talking about Updating a One-to-one child.
Take a example of one to many owned relation.
Class A{
long id;
List<String> strings;
}
Suppose object of *A* class is already inserted in datastore. Now I want to
update the object by changing the *strings* value.
My requirement could be any of the following:
1. I want to keep the old value of the strings variable. means old values +
new values.
2. I do not want old value. means only new value.
Thanks,
Amit
On Fri, Apr 8, 2011 at 4:47 PM, Simon Knott <[email protected]> wrote:
> What's the point in keeping the old object? It's tied into the Entity
> Group via its key anyway, it just becomes orphaned and as far as I know
> inaccessible.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.