public class HibernateChangedForeignKeyChangeGenerator extends liquibase.diff.output.changelog.coreChangedForeignKeyChangeGenerator
Hibernate doesn't know about all the variations that occur with foreign keys but just whether the FK exists or not. To prevent changing customized foreign keys, we suppress all foreign key changes from hibernate.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public Change[] |
fixChanged(DatabaseObject changedObject, ObjectDifferences differences, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) |
|
public int |
getPriority(java.lang.Class<? extends DatabaseObject> objectType, Database database) |