[appengine-java] Re: removing element from list not persisted in datastore

2010-09-10 Thread androidDeveloper
>Are you using GWT? Yes, I am using GWT But I found a solution to the problem. A work-around is as follows: When an element from the index list is removed, I check if the list is empty. When the list is empty, I create a new empty list and overwrite the old list with the new. This works in local

[appengine-java] Re: removing element from list not persisted in datastore

2010-09-09 Thread James
I posted on similar issues here - http://groups.google.com/group/google-appengine-java/browse_thread/thread/e81658b708e92d9e After spending (wasting) several days experimenting w/ the combination of detached and owned entities, my apps now work fine, but I always need to call JDOHelper.makeDirty b

Re: [appengine-java] Re: removing element from list not persisted in datastore

2010-09-09 Thread Cyrille Vincey
Stepmas, please keep us informed with your tests on that particular point, as we are currently changing our data model to match Brett's recommandation about list properties in child object. On 09/09/10 11:58, "Frederik Pfisterer" wrote: > I experienced this with lists of complex objects in owned

[appengine-java] Re: removing element from list not persisted in datastore

2010-09-09 Thread Frederik Pfisterer
I experienced this with lists of complex objects in owned relationships, not with lists of strings, see http://code.google.com/p/datanucleus-appengine/issues/detail?id=218 . Lists of strings should not be a problem since they're stored in the same "table", basically the listproperties Bret mentions