Gavin King (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiMzdmOTRkY2Jm...
) / New Feature (
https://hibernate.atlassian.net/browse/HHH-16718?atlOrigin=eyJpIjoiMzdmOT...
) HHH-16718 (
https://hibernate.atlassian.net/browse/HHH-16718?atlOrigin=eyJpIjoiMzdmOT...
) use table inheritance in DDL generation for TABLE_PER_CLASS mappings on PostgreSQL (
https://hibernate.atlassian.net/browse/HHH-16718?atlOrigin=eyJpIjoiMzdmOT...
)
Issue Type: New Feature Assignee: Unassigned Components: hibernate-core Created:
30/May/2023 06:55 AM Priority: Major Reporter: Gavin King (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
I think it would be very slick to use inheritance in the DDL generated for TABLE_PER_CLASS
mappings on PostgreSQL.
In queries we would still need to use a UNION over SELECT ... FROM ONLY queries, if I
understand this feature correctly, but we would at least get streamlined DDL.
Eventually we could also use it to simplify the DML for projection queries, where the
UNION would not be required. But we would not need that in the very first cut of this.
(
https://hibernate.atlassian.net/browse/HHH-16718#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16718#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#100225- sha1:d82e018 )