[appengine-java] Re: Quirks with key name concurrency / uniqueness control

2010-01-26 Thread Todd Vierling
Hi Ikai, thanks for responding... On Jan 26, 2:28 pm, "Ikai L (Google)" wrote: > I think there's actually a misunderstanding here - we don't guarantee > uniqueness of a key name. A String key is encoded into a datastore Key. The > datastore is, at its lowest layer, a key-value store. Uniqueness i

Re: [appengine-java] Re: Quirks with key name concurrency / uniqueness control

2010-01-26 Thread Ikai L (Google)
Here's an example on using transactions: http://code.google.com/appengine/docs/java/datastore/transactions.html If you scroll down, there's an example for a transactional get and save: // PersistenceManager pm = ...;