Hello Mickaƫl,

I share your pain. I have a similar data structure for a portion of my
persistent store, but it's for an administrative task and I persist
just one new entity at a time.

You can set the key yourself in the app for each persistent entity
when you construct it and before persisting it, but you must do this
by setting the key's string not its Long ID. This way, you will know
the key's string always (both whether your key is of type String or of
type Key - if of type Key, then your app can set the String part of
this).

I use encoded key strings and Long ID extract. You could use encoded
key strings and String extract, and set the String before persistence.

Does this work for you?
--~--~---------~--~----~------------~-------~--~----~
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