Markus Heiden (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=6149cfc...
) *commented* on HHH-16122 (
https://hibernate.atlassian.net/browse/HHH-16122?atlOrigin=eyJpIjoiNWNlM2...
)
Re: Named type [class xxx] did not implement BasicType nor UserType (
https://hibernate.atlassian.net/browse/HHH-16122?atlOrigin=eyJpIjoiNWNlM2...
)
The problem seems to be
org.hibernate.boot.model.internal.ClassPropertyHolder#addPropertyToMappedSuperclass which
handles parameterized superclasses differently from non-parameterized superclasses. For
non-parameterized superclasses, it just adds the property. For parameterized superclasses,
it does some “magic”.
In this case
if ( inferredData.getTypeName().equals( getTypeName( originalValue ) ) )
seems to be the problem, because originalValue does not yet have its typeName set and thus
the if-condition evaluates to false instead of adding the property and return.
(
https://hibernate.atlassian.net/browse/HHH-16122#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16122#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#100214- sha1:4a69e91 )