Алексей Макаров (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5a93eff...
) *updated* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiOTQ0MTUzNjdi...
) / Bug (
https://hibernate.atlassian.net/browse/HHH-16491?atlOrigin=eyJpIjoiOTQ0MT...
) HHH-16491 (
https://hibernate.atlassian.net/browse/HHH-16491?atlOrigin=eyJpIjoiOTQ0MT...
) SQM could not correct resolve Generics Embeddable ids (
https://hibernate.atlassian.net/browse/HHH-16491?atlOrigin=eyJpIjoiOTQ0MT...
)
Change By: Алексей Макаров (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5a93eff...
)
I tried to use Generics Embeddable key, but SQM wrong parses entity class for one of
version this key.
I suppose that error in MetaContext$wrapUp method, where Map componentByEmbeddable does
not analyze generics in deep.
I’ve attached hibernate-orm-6 example, that reproduces this bug. If there is some another
way to attach test case - please send me manual to do this.
Workaround for this - create leaf non-generic class
(
https://hibernate.atlassian.net/browse/HHH-16491#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16491#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#100222- sha1:cb3bdf0 )