public class HibernateColumnSnapshotGenerator extends HibernateSnapshotGenerator
Columns are snapshotted along with Tables in liquibase.ext.hibernate.snapshot.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.
| Constructor and description |
|---|
HibernateColumnSnapshotGenerator() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
protected void |
addTo(liquibase.structure.DatabaseObject foundObject, liquibase.snapshot.DatabaseSnapshot snapshot) |
|
public java.lang.String |
getDefaultCatalog() |
|
public java.lang.String |
getDefaultSchema() |
|
public org.hibernate.boot.model.relational.SqlStringGenerationContext |
getSqlStringGenerationContext() |
|
public java.lang.Class<? extends liquibase.snapshot.SnapshotGenerator>[] |
replaces() |
|
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(java.lang.String hibernateType, java.lang.Integer sqlTypeCode) |
| Methods inherited from class | Name |
|---|---|
class HibernateSnapshotGenerator |
addTo, addsTo, findHibernateTable, getPriority, replaces, snapshot, snapshotObject |