Closed GoogleCodeExporter closed 9 years ago
I have exactly the same problems using JDO. I added the LifecycleListener that
implements LoadLifecycleListener. When I fetch an object by getObjectById the
postLoad method is invoked. But when I fetch an object (or objects) by a query,
the postLoad method will not be triggered.
Original comment by gstijn...@gmail.com
on 18 Jan 2011 at 4:06
+1 happens in JDO too.
I see it happening when I have an owned collection and fetch the parent by id,
then get one of the elements of the owned collection... When it does the
lazy-load of the collection, it runs a query and never fires the postLoad
callback.
I fetched the code revision that's in the app engine sdk from the DataNucleus
site and stepped through it. It looks like the problem is in the lazy-loading
logic that does the child fetch.
Original comment by geoffc
on 1 Jul 2011 at 9:38
SVN trunk adds a test for this, and works fine
Original comment by googleco...@yahoo.co.uk
on 17 Jul 2011 at 3:09
Original issue reported on code.google.com by
sramana...@gmail.com
on 8 Jun 2010 at 9:20