hibernate-orm/hibernate-core
Emmanuel Duchastenier 0b819863f2 HHH-13779 (5.4) - Foreign key schema migrator should be case-insensitive
This avoids re-creating existing foreign keys with a different name,
after migrating from Hibernate 4 to Hibernate 5 (as implicit naming
convention has changed).
Actually, some RDBMS allow it (PostgreSQL, MySQL, MS SQL Server, ...)
and duplicate the same key, whereas others (Oracle, ...) do not
allow it and Schema update fails.

This fix ignores the case of the table and column name when checking
if a equivalent Foreign Key already exists (whatever its name)

Closes https://hibernate.atlassian.net/browse/HHH-13779
2021-04-30 12:46:35 -05:00
..
src HHH-13779 (5.4) - Foreign key schema migrator should be case-insensitive 2021-04-30 12:46:35 -05:00
hibernate-core.gradle HHH-14371 Open java.base/java.lang to the unnamed module in javassist tests 2021-01-07 17:21:06 +01:00