Skip to content

Support hibernate-enhance-maven-plugin plugin #148

Description

@hurelhuyag

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    pr-neededFeature request for which PR likely needed (no active development but idea is workable)

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions