[hibernate-issues] [JIRA] (HHH-12338) Incorrect metamodel for basic collections

Vlad Mihalcea (JIRA) jira at hibernate.atlassian.net
Fri Feb 21 02:52:52 EST 2020


Vlad Mihalcea ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Af5e8c0d3-3aae-4bb4-a4e1-25463d60d232 ) *commented* on HHH-12338 ( https://hibernate.atlassian.net/browse/HHH-12338?atlOrigin=eyJpIjoiZWNhMzYyY2M2NGM0NGIwNzhkZTExNmEzMmZkOWQ3ODIiLCJwIjoiaiJ9 )

Re: Incorrect metamodel for basic collections ( https://hibernate.atlassian.net/browse/HHH-12338?atlOrigin=eyJpIjoiZWNhMzYyY2M2NGM0NGIwNzhkZTExNmEzMmZkOWQ3ODIiLCJwIjoiaiJ9 )

Chris Cranford ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Aea49f1db-ef91-4d96-8f3a-a939be8d2b1c ) You are right that the spec does not cover this issue, but the spec does not take into consideration the use case when you’d want to map a List , Set , or Map to a JSON column in the database or when you want to map a List entity attribute to a PostgreSQL ARRAY column type.

Currently, this issue affects the Hibernate Types project as, even if the basic attribute is a List , it’s still a basic attribute, not a parent-child association that can be used in a JOIN.

I will provide a PR to address this issue, and I’d appreciate if you take a look at it.

( https://hibernate.atlassian.net/browse/HHH-12338#add-comment?atlOrigin=eyJpIjoiZWNhMzYyY2M2NGM0NGIwNzhkZTExNmEzMmZkOWQ3ODIiLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HHH-12338#add-comment?atlOrigin=eyJpIjoiZWNhMzYyY2M2NGM0NGIwNzhkZTExNmEzMmZkOWQ3ODIiLCJwIjoiaiJ9 )

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.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100121- sha1:96a3924 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200221/4f480add/attachment.html 


More information about the hibernate-issues mailing list