java - Is there a way to update Key to include ancestor -


i have update entities include ancestor in google app engine need migrate existing data have ancestor.

is there way update key include ancestor? creating new key same id , kind , ancestor includes creates new record in datastore instead of updating existing one.

i aware resave entities in new format , delete old ones, there other way?

no, keys immutable, can not update key of existing entity. need create new entity, copy key/properties, save , delete old one.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -