Hi Robert. Bravo. This approach solved problem.
We are using objectify and for quick test reason I have used this to set
this internal 'connection' entity group:
try {
dao.ofy().getDatastore().get(KeyFactory.createKey("Random", new
Random().nextLong()));
} catch (EntityNotFoundException e) {
// Ignore
}
Deferred implementation that we use doesn't have access to request headers
(but on Monday or Tuesday maybe it will have ;)). There is no reason to use
costly random class when task name is unique.
Now question is how to set their internal transaction entity group so that I
don't need to use one get datastore operation with throwing exception?
Tnx, MATijA.
--
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.