Artyom Dmitriev (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=63da4f7...
) *commented* on HHH-16122 (
https://hibernate.atlassian.net/browse/HHH-16122?atlOrigin=eyJpIjoiZTAxMT...
)
Re: Named type [class xxx] did not implement BasicType nor UserType (
https://hibernate.atlassian.net/browse/HHH-16122?atlOrigin=eyJpIjoiZTAxMT...
)
I can confirm that the error happens when @Type is applied to a field/getter in a
@MappedSuperclass. A possible (not a very nice) workaround might be to switch to
property-based access, mark the property @Transient and override it in the child class.
I am surprised HIbernate does not provide a way to customize AttributeFactory or to use my
own JpaMetamodelImplementor implementation. That would help to solve the issue without the
need to wait for an official fix.
(
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:06410ea )