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 for a test case.