Question

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

Was it helpful?

Solution

@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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top