I'm seeing some odd behavior now that I've switched to properly
detached objects (previously I was calling detachCopy but didn't have
my classes marked w/ the detachable annotation).

Given an entity that contains a List<Key>, I can save a new entity w/
one key in the list.  However if I remove that item from the list,
persist, and retrieve again, the removed item is still there.

I can work around this by replacing my List w/ an entirely new List
object that is empty.  Then it persists correctly.

Oddly, I do NOT need to create a new List object, and things work okay
if:
- I'm adding to the list or
- I'm removing from the list but leaving one item in it

There are a number of GAE and Datanucleus issues logged, but none of
them directly hit on this, so I thought I'd post it and see if I'm
going crazy...

-- 
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