Class SchemaSnapshotGenerator

java.lang.Object
liquibase.ext.hibernate.snapshot.HibernateSnapshotGenerator
liquibase.ext.hibernate.snapshot.SchemaSnapshotGenerator
All Implemented Interfaces:
liquibase.snapshot.SnapshotGenerator

public class SchemaSnapshotGenerator extends HibernateSnapshotGenerator
Hibernate doesn't really support Schemas, so just return the passed example back as if it had all the info it needed.
  • Constructor Details

    • SchemaSnapshotGenerator

      public SchemaSnapshotGenerator()
  • 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
    • replaces

      public Class<? extends liquibase.snapshot.SnapshotGenerator>[] replaces()
      Specified by:
      replaces in interface liquibase.snapshot.SnapshotGenerator
      Overrides:
      replaces in class HibernateSnapshotGenerator