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
  • Field Summary

    Fields inherited from interface liquibase.snapshot.SnapshotGenerator

    PRIORITY_ADDITIONAL, PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NONE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    addTo(liquibase.structure.DatabaseObject foundObject, liquibase.snapshot.DatabaseSnapshot snapshot)
     
    protected liquibase.structure.core.Index
    getBackingIndex(liquibase.structure.core.UniqueConstraint uniqueConstraint, org.hibernate.mapping.Table hibernateTable, 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 Details

    • UniqueConstraintSnapshotGenerator

      public UniqueConstraintSnapshotGenerator()
  • 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:
      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
    • getBackingIndex

      protected liquibase.structure.core.Index getBackingIndex(liquibase.structure.core.UniqueConstraint uniqueConstraint, org.hibernate.mapping.Table hibernateTable, liquibase.snapshot.DatabaseSnapshot snapshot)