Well, the clock's still ticking... Some other points of confusion I've (finally) gotten over: - Directly accessing fields rather than using accessor methods - Entities that aren't marked as detachable can still be detached; wtf? - What if a base class is marked as detachable but subclass is not?
Seriously, there are about 1000 permutations you can get into, and without a concrete example it's all trial and error. Now I'm stuck at - java.lang.IllegalStateException: Primary key for object of type TestChild is null. - When adding a new child entity to an existing parent entity. My code works fine when it was a new child entity being added to a new parent entity, but is barfing on an existing parent entity. James On Jun 30, 11:21 am, Ian Marshall <[email protected]> wrote: > Hello James, > > 4 hours? Is that all? I would be far too embarrassed to tell you how > long it took me! > > On Jun 29, 8:13 pm, James <[email protected]> wrote: > > > > > I'd love to see Max Ross continue on these posts. I've burned about 4 > > hrs now trying to get JDO owned, bidirectional relationships working. > > It seems like every issue I fix, another pops up. Whack a mole... > > I'm experiencing everything from: > > > - Child entities persisting, but not subsequently loading (even with > > fetch groups, fetch depths) > > - Bidirectional reference being lost on detachCopy > > - Reconnecting a detached object throwing random errors in the > > ArrayList wrapper > > > I'm tired of feeling my way around in the dark and would LOVE a full > > example (CRUD, including detached entities). Barring that, Twig, here > > I come. > > > Frustrated, > > > James -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
