surinder-insonix / datanucleus-appengine

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

lifecycle listeners not called for embedded objects #162

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
- create a record containing an embedded field (@Persistent @Embedded)
- create a lifecycle listener that logs preStore events (a 
StoreLifecycleListener)
- store the record

What is the expected output? What do you see instead?

- lifecycle listener is called only for the top-level object, not for the 
embedded object. (Verified in the debugger.)

What version of the product are you using? On what operating system?

App Engine 1.2.6.

Original issue reported on code.google.com by bslesinsky on 20 Nov 2009 at 6:10

GoogleCodeExporter commented 8 years ago
Could you please add your code to the bug?  This will ensure that I'm trying to
reproduce the same way.

Thanks,
Max

Original comment by max.r...@gmail.com on 20 Nov 2009 at 5:34

GoogleCodeExporter commented 8 years ago
As with http://code.google.com/p/datanucleus-appengine/issues/detail?id=161 I 
see the
same behavior with the DataNucleus rdbms plugin.  Feel free to file a bug 
against
DataNucleus or JDO to get the proper behavior clarified, but in the absence of
clarification I'm going to assume rdbms plugin is correct and emulate that in 
App Engine.

Original comment by max.r...@gmail.com on 20 Nov 2009 at 11:46