pfuerholz

Results 2 comments of 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: ![stackwithpresave](https://cloud.githubusercontent.com/assets/5560087/2757660/c1fa5f36-c986-11e3-95ee-03648c37e3f8.png) 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;...