I have updated my branch with a flag in EntityMetamodel. It's set when it's detected that the entity class has been enhanced and it's used to skip proxy instantiation and to enable lazy loading, along with isInstrumented().
My basic lazy loading test (still in development) passes with the change. The changes look OK to me, but I may be missing many important details ... I need some feedback!
|