Open
Description
Compile-time class enhancement has advantages. When we use it hibernate does not need to create new classes at runtime. But this module is not working with the hibernate-enhance-maven-plugin
. Because this enhancer plugin adds proxy to getters and Jackson serializer calls getter before detecting property state. We should find a way to detect property that is lazily loaded before invoking the getter method.
I have created a minimal project for demonstrating this behaviour.
https://github.com/hurelhuyag/demo-jackson-hibernate5-mininal