Do I have to do something like that?

// Update one side of the relation
changedItem.setValue("xxx");

// Than update another side of the relation
List<Item> items = changedItem.getContainer().getItems();
for (Item item: items) {
  if (item.getKey().equals(changedItem.getKey())) {
    item.setValue(changedItem.getValue());
    break;
  }
}

On Apr 9, 1:21 pm, datanucleus <andy_jeffer...@yahoo.com> wrote:
> > I'm not serializing List's data in a single column so I don't have to
> > force entities to update, if I'm not mistaken.
>
> You are setting only one side of a relation from the code you present.
> If the relation is bidirectional then you ought to set BOTH sides. JPA
> does not come with "managed relations".

-- 
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 google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to