liquibase.ext.hibernate.diff
Class ChangedColumnChangeGenerator
java.lang.Object
liquibase.diff.output.changelog.core.ChangedColumnChangeGenerator
liquibase.ext.hibernate.diff.ChangedColumnChangeGenerator
- All Implemented Interfaces:
- liquibase.diff.output.changelog.ChangedObjectChangeGenerator, liquibase.diff.output.changelog.ChangeGenerator
public class ChangedColumnChangeGenerator
- extends liquibase.diff.output.changelog.core.ChangedColumnChangeGenerator
Hibernate and database types tend to look different even though they are not.
There are enough false positives that it works much better to suppress all column changes based on types.
| Fields inherited from interface liquibase.diff.output.changelog.ChangeGenerator |
PRIORITY_ADDITIONAL, PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NONE |
|
Method Summary |
int |
getPriority(Class<? extends liquibase.structure.DatabaseObject> objectType,
liquibase.database.Database database)
|
protected void |
handleTypeDifferences(liquibase.structure.core.Column column,
liquibase.diff.ObjectDifferences differences,
liquibase.diff.output.DiffOutputControl control,
List<liquibase.change.Change> changes,
liquibase.database.Database referenceDatabase,
liquibase.database.Database comparisonDatabase)
|
| Methods inherited from class liquibase.diff.output.changelog.core.ChangedColumnChangeGenerator |
fixChanged, handleAutoIncrementDifferences, handleDefaultValueDifferences, handleNullableDifferences, runAfterTypes, runBeforeTypes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChangedColumnChangeGenerator
public ChangedColumnChangeGenerator()
getPriority
public int getPriority(Class<? extends liquibase.structure.DatabaseObject> objectType,
liquibase.database.Database database)
- Specified by:
getPriority in interface liquibase.diff.output.changelog.ChangeGenerator- Overrides:
getPriority in class liquibase.diff.output.changelog.core.ChangedColumnChangeGenerator
handleTypeDifferences
protected void handleTypeDifferences(liquibase.structure.core.Column column,
liquibase.diff.ObjectDifferences differences,
liquibase.diff.output.DiffOutputControl control,
List<liquibase.change.Change> changes,
liquibase.database.Database referenceDatabase,
liquibase.database.Database comparisonDatabase)
- Overrides:
handleTypeDifferences in class liquibase.diff.output.changelog.core.ChangedColumnChangeGenerator
Copyright © 2015 Liquibase.org. All rights reserved.