com.atlassian.confluence.core.persistence.schema.hibernate
Class HibernateSchemaComparisonService
java.lang.Object
com.atlassian.confluence.core.persistence.schema.hibernate.HibernateSchemaComparisonService
- All Implemented Interfaces:
- SchemaComparisonService
public class HibernateSchemaComparisonService
- extends Object
- implements SchemaComparisonService
An implementation of SchemaComparisonService
which
uses the Hibernate mapping as the "expected" schema, and compares it with the actual database schema.
- Since:
- 5.6
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateSchemaComparisonService
public HibernateSchemaComparisonService(net.sf.hibernate.engine.SessionFactoryImplementor sessionFactory,
SchemaHelper schemaHelper)
compareExpectedWithActualSchema
public SchemaComparison compareExpectedWithActualSchema()
throws Exception
- Description copied from interface:
SchemaComparisonService
- Attempt to reconcile the "expected" database schema with the "actual" schema.
- Specified by:
compareExpectedWithActualSchema
in interface SchemaComparisonService
- Throws:
Exception
Copyright © 2003–2015 Atlassian. All rights reserved.