[hibernate-issues] [JIRA] (HHH-13885) ForeignKey's name not quoted with hibernate.globally_quoted_identifiers = true

Jérôme Joslet (JIRA) jira at hibernate.atlassian.net
Tue Mar 3 02:22:08 EST 2020


Jérôme Joslet ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5cb058f8eb18fc558837ab66 ) *created* an issue

Hibernate ORM ( https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiMDI5MDM2NGFlYjI4NDdlN2JkYTlmMjY4MjU2M2Q3MDkiLCJwIjoiaiJ9 ) / Bug ( https://hibernate.atlassian.net/browse/HHH-13885?atlOrigin=eyJpIjoiMDI5MDM2NGFlYjI4NDdlN2JkYTlmMjY4MjU2M2Q3MDkiLCJwIjoiaiJ9 ) HHH-13885 ( https://hibernate.atlassian.net/browse/HHH-13885?atlOrigin=eyJpIjoiMDI5MDM2NGFlYjI4NDdlN2JkYTlmMjY4MjU2M2Q3MDkiLCJwIjoiaiJ9 ) ForeignKey's name not quoted with hibernate.globally_quoted_identifiers = true ( https://hibernate.atlassian.net/browse/HHH-13885?atlOrigin=eyJpIjoiMDI5MDM2NGFlYjI4NDdlN2JkYTlmMjY4MjU2M2Q3MDkiLCJwIjoiaiJ9 )

Issue Type: Bug Affects Versions: 5.2.18 Assignee: Unassigned Attachments: QuotedForeignKeyTest.java Created: 02/Mar/2020 23:22 PM Priority: Major Reporter: Jérôme Joslet ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5cb058f8eb18fc558837ab66 )

When hibernate.globally_quoted_identifiers is true , foreign key's name is not quoted when specified in a @ForeignKey annotation.

The name of the foreign key is well quoted when generated by Hibernate.

See QuotedForeignKeyTest.java ( https://hibernate.atlassian.net/secure/attachment/49637/49637_QuotedForeignKeyTest.java ) for a test case.

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

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:a532aba )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200303/7a7e8574/attachment.html 


More information about the hibernate-issues mailing list