Domanda

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

È stato utile?

Soluzione

@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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top