Empty static metamodel for embeddable

Description

Hibernate JPA metamodel generator generates empty static metamodel class (without fields) for a embeddable class that is embedded in other embeddable.
Example with one entity: User and 2 embeddable: Address and ZipCode:

It generates wrong static metamodel for ZipCode:

In the attachment there is sample project with above classes that can be build using gradle.

Environment

None

Assignee

Unassigned

Reporter

Jakub Białek

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