Hey

I have an Entity which contains a List<Entity> property that stores
child entities. I have found a bug in my app where during concurrent
modification of child entities all of the children in the parent
entities list will be deleted.

Firstly, why does this happen? Surely it'd be better to throw an
exception rather than delete all child entities in the list?
Secondly, what is the solution to prevent concurrent modification of
entities? I understand normal Java synchronization/locking wont work
on GAE?

Thanks

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