public class ColumnSnapshotGenerator extends HibernateSnapshotGenerator
TableSnapshotGenerator but this class needs to be here to keep the default ColumnSnapshotGenerator from running.
Ideally the column logic would be moved out of the TableSnapshotGenerator to better work in situations where the object types to snapshot are being controlled, but that is not the case yet.LOG| Constructor and Description |
|---|
ColumnSnapshotGenerator() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addTo(liquibase.structure.DatabaseObject foundObject,
liquibase.snapshot.DatabaseSnapshot snapshot) |
protected void |
snapshotColumn(liquibase.structure.core.Column column,
liquibase.snapshot.DatabaseSnapshot snapshot) |
protected liquibase.structure.DatabaseObject |
snapshotObject(liquibase.structure.DatabaseObject example,
liquibase.snapshot.DatabaseSnapshot snapshot) |
protected liquibase.structure.core.DataType |
toDataType(String hibernateType,
Integer sqlTypeCode) |
addsTo, findHibernateTable, getPriority, replaces, snapshotprotected liquibase.structure.DatabaseObject snapshotObject(liquibase.structure.DatabaseObject example,
liquibase.snapshot.DatabaseSnapshot snapshot)
throws liquibase.exception.DatabaseException,
liquibase.snapshot.InvalidExampleException
snapshotObject in class HibernateSnapshotGeneratorliquibase.exception.DatabaseExceptionliquibase.snapshot.InvalidExampleExceptionprotected void addTo(liquibase.structure.DatabaseObject foundObject,
liquibase.snapshot.DatabaseSnapshot snapshot)
throws liquibase.exception.DatabaseException,
liquibase.snapshot.InvalidExampleException
addTo in class HibernateSnapshotGeneratorliquibase.exception.DatabaseExceptionliquibase.snapshot.InvalidExampleExceptionprotected void snapshotColumn(liquibase.structure.core.Column column,
liquibase.snapshot.DatabaseSnapshot snapshot)
throws liquibase.exception.DatabaseException
liquibase.exception.DatabaseExceptionCopyright © 2020 Liquibase.org. All rights reserved.