Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
objectstore-jdo-1.0.0
-
None
Description
Previously our approach was to use the LoadedLifecycleListener and inject services at that point. However, it turns out that this callback is only called when all of the fields/properties in the default fetch group have been loaded; in other words it is indeterminate as to when it is called. The consequence of this is that any attempt to invoke an action on the domain object may result in a NPE if it tries to use a not-yet-injeted service or the container.
This ticket is to hook into JDO/DataNucleus' SPI in order to do the necessary injection.
Attachments
Issue Links
- relates to
-
CAUSEWAY-391 Upgrade JDO objectstore to Datanucleus 3.2.1
- Closed