Take the 2-minute tour ×

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

share|improve this question

1 Answer 1

up vote 1 down vote accepted

@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

share|improve this answer
thanks mate! much appreciated! –  Jackson Ha Mar 25 at 1:50
What about @Ignore? Is that just for Ofy 4? –  Tom Mar 25 at 13:04
Yes, @Ignore is Objectify 4. See Annotation changes at code.google.com/p/objectify-appengine/wiki/DesignObjectify4 –  user2962393 Mar 25 at 18:17

Your Answer


