I'm building some kind of synchronization service on AE (I'm still in my first month of GA experience) and the first step in my sync process is to sync a bunch of projects. I do checks if I have to persist the project, update the project or just ignore the incoming project. Next step is to sync tasks. But the tasks have a reference to a project (not necessarily the one of the projects synced before, but it can). And there the problem happens.
So in my test case I have persisted a project, then I do a lookup to find the project for which I want to sync a task. But the project is not found because it has just been created in step 1 and thus not comitted yet. At least I think that is the reason. If I do another test-case in which a task is synced for a project that is already available in the database, the test case succeeds. So I'm not exactly sure what the exact problem is, but if I just persisted an object I cannot load it a second later... So for me it must be or caching related or the transaction because it's not yet comitted... Any help would be appreciated.. :-) -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/Egk3-2yzpA0J. 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.
