public class HibernateColumnSnapshotGenerator extends HibernateSnapshotGenerator
Columns are snapshotted along with Tables in 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(DatabaseObject foundObject, DatabaseSnapshot snapshot) |
|
public java.lang.String |
getDefaultCatalog() |
|
public java.lang.String |
getDefaultSchema() |
|
public SqlStringGenerationContext |
getSqlStringGenerationContext() |
|
public java.lang.Class<? extends SnapshotGenerator>[] |
replaces() |
|
protected void |
snapshotColumn(Column column, DatabaseSnapshot snapshot) |
|
protected DatabaseObject |
snapshotObject(DatabaseObject example, DatabaseSnapshot snapshot) |
|
protected DataType |
toDataType(java.lang.String hibernateType, java.lang.Integer sqlTypeCode) |
| Methods inherited from class | Name |
|---|---|
class HibernateSnapshotGenerator |
addTo, addsTo, findHibernateTable, getPriority, replaces, snapshot, snapshotObject |