PADDED and DYNAMIC Batch loading strategies not compatible with the Enhanced Proxy feature

Description

Apparently an enhanced proxy is not initialized when loaded via a `PADDED` or `DYNAMIC` batch style.
Quarkus uses the `PADDED` style, while Hibernate ORM upstream by default is using `LEGACY`.

It seems we only tested Enhanced Proxies in combination with the ORM's default of LEGACY

Environment

None

Assignee

Andrea Boriero

Reporter

Sanne Grinovero

Fix versions

Labels

None

backPortable

Backport?

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure