| When using bytecode enhanced entities EntityManager.getReference does not seem to return a proxy but a fully initialized entity just like EntityManager.find. The example project comes with two maven profiles, the default activated one does enhancement. You can disable enhancement with the profile no-enhancement to see how it succeeds with non-enhanced entities. |