I’d like to store 2 new entities in a batch put. However, one entity is the parent of the other. If I have a a field in the child object that looks like:
@Parent
private Key parent
How do I fill in a value for this field in the child object if the parent hasn’t been stored yet (and thus has no key yet).
Allocate the id of the parent in advance. Then you can save the parent and the child (with a parent key reference) in a single batch put.