@NotSaved
fields will be loaded from the datastore, but they won't be saved. @Transient
fields are completely ignored.
See this: https://groups.google.com/forum/#!topic/objectify-appengine/qizKUod_lUc
سؤال
is it possible to mark a field in a class so that objectify (3.1) will not persist it?
I've been reading up on @Transient and @NotSaved. What is the difference?
Thanks! Jackson
المحلول
@NotSaved
fields will be loaded from the datastore, but they won't be saved. @Transient
fields are completely ignored.
See this: https://groups.google.com/forum/#!topic/objectify-appengine/qizKUod_lUc