Marco Belladelli (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=637b480...
) *commented* on HHH-16755 (
https://hibernate.atlassian.net/browse/HHH-16755?atlOrigin=eyJpIjoiOGMyMm...
)
Re: NPE while retrieving static metamodel attribute of generic embeddable extending a
superclass (
https://hibernate.atlassian.net/browse/HHH-16755?atlOrigin=eyJpIjoiOGMyMm...
)
Hello, thank you for reporting the issue and providing a reproducer.
Looks like when a component is generic we fail to correctly register properties defined in
the @Embeddable ’s superclass(es) for the static JPA metamodel, causing the NPE you’re
encountering. This was probably introduced since version 6.2.3.Final, more specifically in
https://hibernate.atlassian.net/browse/HHH-16491. We will look into it when possible, keep
following this issue for any updates.
(
https://hibernate.atlassian.net/browse/HHH-16755#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16755#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100233- sha1:b4f309b )