datanucleus-core icon indicating copy to clipboard operation
datanucleus-core copied to clipboard

Runtime Enhancement : cater for relations when determining persistability of classes

Open andyjefferson opened this issue 8 years ago • 0 comments

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

andyjefferson avatar Apr 11 '16 07:04 andyjefferson