Marco Belladelli (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=637b480...
) *commented* on HHH-15929 (
https://hibernate.atlassian.net/browse/HHH-15929?atlOrigin=eyJpIjoiNWFmYz...
)
Re: Mapping jsonb of different types in a class inheritance hierarchy does not work. (
https://hibernate.atlassian.net/browse/HHH-15929?atlOrigin=eyJpIjoiNWFmYz...
)
Hello Thomas Bosch (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5c19f84...
) , thanks for the reproducer using our test templates. JSON support is now standard in
hibernate-core, I tried removing the @Type(JsonType.class) annotation and both your
examples worked (after providing a default constructor for both property types).
San Matus (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) , could you please try updating to Hibernate 6.1.7.Final/6.2.0.CR3 and let us know if
the issue persists? In that case, a reproducer which doesn’t involve Spring would be
really helpful.
(
https://hibernate.atlassian.net/browse/HHH-15929#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-15929#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#100217- sha1:7167dc8 )