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

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -