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
Post a Comment