Open GoogleCodeExporter opened 9 years ago
Tested on
Java: jdk1.7.0_03
mongo-java-driver: 2.7.3
morphia: 0.99
Original comment by wouter...@gmail.com
on 31 Mar 2012 at 8:35
Yes, a test case would be great.
Original comment by scotthernandez
on 3 Apr 2012 at 6:31
Added a maven/eclipse testcase.
Original comment by wouter...@gmail.com
on 3 Apr 2012 at 8:30
Attachments:
[deleted comment]
Thank you for the testcase.
Due to the double brace initialization, the LineItem receives a synthetic
reference to the test class. The test class has a reference to the DAO object
which results in a loop when trying to persist the object.
I would suggest to adjust the discover method in Morphia's MappedClass class to
exclude synthetic reference all together, not only if they are marked transient.
Original comment by sebastia...@otto.de
on 20 Jul 2012 at 8:42
Original issue reported on code.google.com by
wouter...@gmail.com
on 31 Mar 2012 at 8:32