I have a batch update/insert workflow. while the KEY exists, update
data ,else insert.

in sdk document. they said data will update while PersistenceManager
is closed. can I just getobject and put the none exists entities in a
colleciton and set values for the exists entities. then execute
pm.makePersistentAll(mycollection);
pm.close();

will this do my job? thanks!

and one more question. if update failed while pm.close(). will the
datastore manager throw a exception?

and how can I use transactions?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to