com.atlassian.confluence.core.persistence.schema.hibernate
Class HibernateSchemaComparisonService

java.lang.Object
  extended by com.atlassian.confluence.core.persistence.schema.hibernate.HibernateSchemaComparisonService
All Implemented Interfaces:
SchemaComparisonService

public class HibernateSchemaComparisonService
extends java.lang.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

Constructor Summary
HibernateSchemaComparisonService(net.sf.hibernate.engine.SessionFactoryImplementor sessionFactory, SchemaHelper schemaHelper)
           
 
Method Summary
 SchemaComparison compareExpectedWithActualSchema()
          Attempt to reconcile the "expected" database schema with the "actual" schema.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HibernateSchemaComparisonService

public HibernateSchemaComparisonService(net.sf.hibernate.engine.SessionFactoryImplementor sessionFactory,
                                        SchemaHelper schemaHelper)
Method Detail

compareExpectedWithActualSchema

public SchemaComparison compareExpectedWithActualSchema()
                                                 throws java.lang.Exception
Description copied from interface: SchemaComparisonService
Attempt to reconcile the "expected" database schema with the "actual" schema.

Specified by:
compareExpectedWithActualSchema in interface SchemaComparisonService
Throws:
java.lang.Exception


Copyright © 2003-2014 Atlassian. All Rights Reserved.