public class HibernateSchemaComparisonService extends Object implements SchemaComparisonService
SchemaComparisonService
which
uses the Hibernate mapping as the "expected" schema, and compares it with the actual database schema.Constructor and Description |
---|
HibernateSchemaComparisonService(org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory,
SchemaHelper schemaHelper) |
Modifier and Type | Method and Description |
---|---|
SchemaComparison |
compareExpectedWithActualSchema()
Attempt to reconcile the "expected" database schema with the "actual" schema.
|
public HibernateSchemaComparisonService(org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory, SchemaHelper schemaHelper)
public SchemaComparison compareExpectedWithActualSchema() throws Exception
SchemaComparisonService
compareExpectedWithActualSchema
in interface SchemaComparisonService
Exception
Copyright © 2003–2017 Atlassian. All rights reserved.