I am new with the AppEngine JDO (and JDO in general) so bear with
me...

While iterating over the results of a query, i modify some of the
(vanilla persistent) objects whose class is not marked as detachable.

>From the documentation, i was expecting that a pm.close() at the end
is all i need to persist the changes:

http://code.google.com/appengine/docs/java/datastore/creatinggettinganddeletingdata.html#Updating_an_Object

But it does not seem to be the case and to make the changes persistent
i have to do a pm.makePersistent(modifiedObject) while iterating over
the query results.

Did i miss something?Or are the results of a query in a detached state
(even though the class is not mark detachable)? Or is the above
documentation incorrect about pm.close() being sufficient to save the
changes?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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?hl=en.

Reply via email to