bach
bach

Reputation: 369

GAE transaction exceptions

ServletA:

ServletB:

So the record set that has been retrieved in ServletA is being updated every 2000/15 = 133 millsec.
Will it ever succeed to update the object without interruption?

Upvotes: 0

Views: 77

Answers (1)

Jason Hall
Jason Hall

Reputation: 20930

ServletA will only throw an exception if the selected "best" room was updated after it was retrieved from the datastore, before it was persisted.

If any of the other 1999 entities were modified, it won't matter since you're not modifying them at all.

Upvotes: 1

Related Questions