Issue with Blobs when selective caching is used

Description

Playing due to HHH-12588, I've discovered that an embeddable object with a blob is not cacheable. Moving the blob to an embeddable object is a workaround to bypass HHH-12555.

results in

To me, it seems that DataHolder is not instrumented properly, I don't see any lazy code in the decompiled class.

Test case: https://github.com/nikowitt/hibernate-test-case-templates/tree/HHH-12613-inheritance-caching-blobs

Environment

None

Status

Assignee

Unassigned

Reporter

Niko Wittenbeck

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

Priority

Major
Configure