gusgogar / datanucleus-appengine

Automatically exported from code.google.com/p/datanucleus-appengine
0 stars 0 forks source link

pm.makePersistent doesn't persist for class with reference to same class #125

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. apply the patch
2. run the test tests/org/datanucleus/store/appengine/JDOInsertionTest.java
3.

What is the expected output? What do you see instead?
not a failed test

What version of the product are you using? On what operating system?
jaunty ubuntu
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_18-b02, mixed mode)
URL: http://datanucleus-appengine.googlecode.com/svn/branches/1_0_3
Repository Root: http://datanucleus-appengine.googlecode.com/svn
Repository UUID: ea1b383e-165b-11de-8120-8d224146dbbc
Revision: 365

Please provide any additional information below.
It would be nice to commit the SelfReferencing* class to serve as example.
(the package  org/datanucleus/test is of invaluable help for JDO beginner :-) )

Original issue reported on code.google.com by lxndrr...@gmail.com on 10 Sep 2009 at 7:26

Attachments:

GoogleCodeExporter commented 9 years ago
Is this still an issue?

Having tree like data structures is pretty common and the effort to build them 
with 
recursive queries is pretty high :-(

Original comment by patrick.c77 on 4 Apr 2010 at 5:29

GoogleCodeExporter commented 9 years ago

Original comment by googleco...@yahoo.co.uk on 4 Aug 2011 at 6:36

GoogleCodeExporter commented 9 years ago

Original comment by googleco...@yahoo.co.uk on 4 Aug 2011 at 6:39

GoogleCodeExporter commented 9 years ago
SVN trunk passes on this test. The test is present in SVN trunk under 
"tests/com/google/appengine/datanucleus/jdo/Issue125Test"

Original comment by googleco...@yahoo.co.uk on 21 Sep 2011 at 1:07