thanks, for your reply.

In fact yes, I use task queues.
The error comes up when I loop through database objects, and try to
persist to the database as well.
I want to generate an object for a subset of objects in the database,
and store them in the datastore.
So my logic is: get an iterator of the objects from the datastore,
iterate through them one-by-one, and persist the new object.
It may not be a good thing to persist while iterating through a query
but the workaround is a bit messy, I think.
And I'm not even sure, what exactly the root cause is...


On Feb 28, 2:26 pm, Didier Durand <[email protected]> wrote:
> Hi,
>
> I rather had such messages when using task queues and doing mistakes
> with them.
>
> Do you use task queues (or cron jobs) ?
>
> regards
>
> didier
>
> On Feb 27, 5:56 am, JaySicks <[email protected]> wrote:
>
> > Hi, I'm getting the error:
> > "com.google.appengine.api.datastore.DatastoreFailureException: handle
> > 1 not found"
> > (the number may vary)
>
> > I looked up, and I found, that it's related to transactions. And I
> > should get the error, when the too much time passes from the start of
> > the transaction to the commit. (Am I right?)
>
> > So, my problem is, that .. I'm not using transactions..
> > Is it normal, to get the error without using transactions?
>
> > Thanks

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

Reply via email to