Package liquibase.ext.hibernate.snapshot
Class UniqueConstraintSnapshotGenerator
- java.lang.Object
-
- liquibase.ext.hibernate.snapshot.HibernateSnapshotGenerator
-
- liquibase.ext.hibernate.snapshot.UniqueConstraintSnapshotGenerator
-
- All Implemented Interfaces:
liquibase.snapshot.SnapshotGenerator
public class UniqueConstraintSnapshotGenerator extends HibernateSnapshotGenerator
-
-
Constructor Summary
Constructors Constructor Description UniqueConstraintSnapshotGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddTo(liquibase.structure.DatabaseObject foundObject, liquibase.snapshot.DatabaseSnapshot snapshot)protected liquibase.structure.core.IndexgetBackingIndex(liquibase.structure.core.UniqueConstraint uniqueConstraint, org.hibernate.mapping.Table hibernateTable, liquibase.snapshot.DatabaseSnapshot snapshot)protected liquibase.structure.DatabaseObjectsnapshotObject(liquibase.structure.DatabaseObject example, liquibase.snapshot.DatabaseSnapshot snapshot)-
Methods inherited from class liquibase.ext.hibernate.snapshot.HibernateSnapshotGenerator
addsTo, findHibernateTable, getPriority, replaces, snapshot
-
-
-
-
Method Detail
-
snapshotObject
protected liquibase.structure.DatabaseObject snapshotObject(liquibase.structure.DatabaseObject example, liquibase.snapshot.DatabaseSnapshot snapshot) throws liquibase.exception.DatabaseException, liquibase.snapshot.InvalidExampleException- Specified by:
snapshotObjectin classHibernateSnapshotGenerator- Throws:
liquibase.exception.DatabaseExceptionliquibase.snapshot.InvalidExampleException
-
addTo
protected void addTo(liquibase.structure.DatabaseObject foundObject, liquibase.snapshot.DatabaseSnapshot snapshot) throws liquibase.exception.DatabaseException, liquibase.snapshot.InvalidExampleException- Specified by:
addToin classHibernateSnapshotGenerator- Throws:
liquibase.exception.DatabaseExceptionliquibase.snapshot.InvalidExampleException
-
getBackingIndex
protected liquibase.structure.core.Index getBackingIndex(liquibase.structure.core.UniqueConstraint uniqueConstraint, org.hibernate.mapping.Table hibernateTable, liquibase.snapshot.DatabaseSnapshot snapshot)
-
-