FasterXML / FasterXML/jackson-datatype-hibernate

Support `hibernate-enhance-maven-plugin` plugin

Open
#148 10 comments 1 reaction 0 assignees View on GitHub
pr-needed
Dominant language
Java
Stars
331
Forks
108
Avg merge
5h 3m
Merged PRs (30d)
1

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.