@PostLoad not called on @Embeddables in a @ElementCollection when the collection is initialized

Description

Consider the following @Entity with an @Embeddable mapping:

For the above mapping the @PostLoad method in MyEmbeddable is invoked when an instance of MyEntity is loaded.

However, when MyEmbeddable is used in an @ElementCollection, @PostLoad is not invoked for the collection elements upon initialization of the collection.

Environment

None

Assignee

Unassigned

Reporter

Moritz Becker

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure