[hibernate-issues] [JIRA] (HHH-13902) Automatically limit length of table identifiers created by @ElementCollection when using Oracle dialect

Juri Berlanda (JIRA) jira at hibernate.atlassian.net
Tue Mar 24 11:08:58 EDT 2020


Juri Berlanda ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A703b026f-0251-4729-828b-9ed45f283202 ) *created* an issue

Hibernate ORM ( https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiYzczMDg5MzMxYTY5NGY2Mzg3NGRiMzY2MjBkMzgwZWMiLCJwIjoiaiJ9 ) / Improvement ( https://hibernate.atlassian.net/browse/HHH-13902?atlOrigin=eyJpIjoiYzczMDg5MzMxYTY5NGY2Mzg3NGRiMzY2MjBkMzgwZWMiLCJwIjoiaiJ9 ) HHH-13902 ( https://hibernate.atlassian.net/browse/HHH-13902?atlOrigin=eyJpIjoiYzczMDg5MzMxYTY5NGY2Mzg3NGRiMzY2MjBkMzgwZWMiLCJwIjoiaiJ9 ) Automatically limit length of table identifiers created by @ElementCollection when using Oracle dialect ( https://hibernate.atlassian.net/browse/HHH-13902?atlOrigin=eyJpIjoiYzczMDg5MzMxYTY5NGY2Mzg3NGRiMzY2MjBkMzgwZWMiLCJwIjoiaiJ9 )

Issue Type: Improvement Affects Versions: 5.4.12 Assignee: Unassigned Created: 24/Mar/2020 08:08 AM Priority: Major Reporter: Juri Berlanda ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A703b026f-0251-4729-828b-9ed45f283202 )

Oracle at least up to including version 12c allows identifier to be at most 30 characters long. This is not handled automatically on table names for tables created for @ElementCollection.

I found @CollectionTable to work in such scenarios, though it would still be nice, if this is handled transparently.

In addition, I see no risk for backwards compatibility, since anybody using Oracle now would have to already be using @CollectionTable.

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

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#100122- sha1:092c6a7 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200324/e405d6a9/attachment.html 


More information about the hibernate-issues mailing list