문제

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