datanucleus-core
datanucleus-core copied to clipboard
Runtime Enhancement : cater for relations when determining persistability of classes
When we have a class A that has a relation to class B, and in the metadata this relation field is not made explicitly persistent this should be fine (since the other class is going to be enhanced). The problem is that the timing of enhancement of the class B is too late to return that A.b is persistent and hence enhanced. test.jar.gz
Workaround is to explicitly set the persistence-modifier to persistent so we know that A.b is persistent