Re: [appengine-java] Re: GetObjectByID JDO question (NucleusObjectNotFoundException)

2009-12-22 Thread Michael Chan
Could you please provide a sample test case? On 22 Dec 2009, at 00:27, t3jem wrote: > ok, so it appears the best way is to query the key only. I have set > it up to do that, except now I'm having an issue where the parent > object is not storing the child's key. > > Below is to show how I set u

[appengine-java] Re: GetObjectByID JDO question (NucleusObjectNotFoundException)

2009-12-21 Thread t3jem
ok, so it appears the best way is to query the key only. I have set it up to do that, except now I'm having an issue where the parent object is not storing the child's key. Below is to show how I set up my classes to save a reference to the child classes @PersistenceCapable class parent { @Prima

[appengine-java] Re: GetObjectByID JDO question (NucleusObjectNotFoundException)

2009-12-21 Thread Mike
You can query the key only, hope this helps. http://code.google.com/appengine/docs/python/datastore/queriesandindexes.html#Queries_on_Keys On Dec 21, 8:51 pm, Jess Evans wrote: > Be wary of a try/get/catch/persist combo.  I was doing this initially, but > found it triggered a memory leak.  I r