Do the retrieved Entities from a DatastoreService must be put by the
same DatastoreService!?

for example, is it legal to do something like:

DatastoreService d1 = DatastoreServiceFactory.getDatastoreService();
DatastoreService d2 = DatastoreServiceFactory.getDatastoreService();
Entity e = d1.get(KeyFactory.createKey("hello", "world"));
// [...]
d2.put(e);

This is because I'm encapsulating the hrd into repositories and the
Spring framework makes singletons out of them when using dependency
injection.

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