liquibase.ext.hibernate.snapshot
Class SequenceSnapshotGenerator

java.lang.Object
  extended by liquibase.ext.hibernate.snapshot.HibernateSnapshotGenerator
      extended by liquibase.ext.hibernate.snapshot.SequenceSnapshotGenerator
All Implemented Interfaces:
liquibase.snapshot.SnapshotGenerator

public class SequenceSnapshotGenerator
extends HibernateSnapshotGenerator

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 class liquibase.ext.hibernate.snapshot.HibernateSnapshotGenerator
LOG
 
Fields inherited from interface liquibase.snapshot.SnapshotGenerator
PRIORITY_ADDITIONAL, PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NONE
 
Constructor Summary
SequenceSnapshotGenerator()
           
 
Method Summary
protected  void addTo(liquibase.structure.DatabaseObject foundObject, liquibase.snapshot.DatabaseSnapshot snapshot)
           
protected  liquibase.structure.DatabaseObject snapshotObject(liquibase.structure.DatabaseObject example, liquibase.snapshot.DatabaseSnapshot snapshot)
           
 
Methods inherited from class liquibase.ext.hibernate.snapshot.HibernateSnapshotGenerator
addsTo, findHibernateTable, getPriority, replaces, snapshot
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequenceSnapshotGenerator

public SequenceSnapshotGenerator()
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:
snapshotObject in class HibernateSnapshotGenerator
Throws:
liquibase.exception.DatabaseException
liquibase.snapshot.InvalidExampleException

addTo

protected void addTo(liquibase.structure.DatabaseObject foundObject,
                     liquibase.snapshot.DatabaseSnapshot snapshot)
              throws liquibase.exception.DatabaseException,
                     liquibase.snapshot.InvalidExampleException
Specified by:
addTo in class HibernateSnapshotGenerator
Throws:
liquibase.exception.DatabaseException
liquibase.snapshot.InvalidExampleException


Copyright © 2015 Liquibase.org. All rights reserved.