Вопрос

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top