entity - Necessity of the @Parent annotation -



entity - Necessity of the @Parent annotation -

i relooking @ objectify documentation , wondering benefit or necessity of @parent annotation is. appears keys or refs trick. way can share experience on necessity or benefit is? thanks.

@parent gives 2 benefits:

all entities mutual ancestor count single entity grouping in transactions. you can perform strongly-consistent ancestor queries.

some useful reading here:

https://cloud.google.com/appengine/docs/java/datastore/structuring_for_strong_consistency

entity objectify

Comments

Popular posts from this blog

maven fortify plugin : Unable to load build session with ID XXXXX .. See log file for more details -

c# - Primavera WebServices does not return any data -

android - Display emoji panel with genymotion - keyboard/touch input? -