Package liquibase.ext.hibernate.snapshot
Class SequenceSnapshotGenerator
java.lang.Object
liquibase.ext.hibernate.snapshot.HibernateSnapshotGenerator
liquibase.ext.hibernate.snapshot.SequenceSnapshotGenerator
- All Implemented Interfaces:
liquibase.snapshot.SnapshotGenerator
Sequence snapshots are not yet supported, but this class needs to be implemented in order to prevent the default SequenceSnapshotGenerator from running.
-
Field Summary
Fields inherited from interface liquibase.snapshot.SnapshotGenerator
PRIORITY_ADDITIONAL, PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NONE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddTo(liquibase.structure.DatabaseObject foundObject, liquibase.snapshot.DatabaseSnapshot snapshot) Class<? extends liquibase.snapshot.SnapshotGenerator>[]replaces()protected liquibase.structure.DatabaseObjectsnapshotObject(liquibase.structure.DatabaseObject example, liquibase.snapshot.DatabaseSnapshot snapshot) Methods inherited from class liquibase.ext.hibernate.snapshot.HibernateSnapshotGenerator
addsTo, findHibernateTable, getPriority, snapshot
-
Constructor Details
-
SequenceSnapshotGenerator
public SequenceSnapshotGenerator()
-
-
Method Details
-
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
-
replaces
- Specified by:
replacesin interfaceliquibase.snapshot.SnapshotGenerator- Overrides:
replacesin classHibernateSnapshotGenerator
-