pfuerholz
pfuerholz
Thanks for suggestion (I didn't even know there is a @PreSave annotation, only looked at [https://github.com/mongodb/morphia/wiki/LifecycleMethods]). @PreSave lacks the same issue as @PrePersist, see stack:  The @PreSave-annotated method is...
Here is the code to test it. To make it work just comment out Application.prePersist. ``` java package testmorphia606; import static org.junit.Assert.assertTrue; import java.util.ArrayList; import java.util.Date; import java.util.List; import org.bson.types.ObjectId;...