Class HibernateSchemaComparisonService
java.lang.Object
com.atlassian.confluence.core.persistence.schema.hibernate.HibernateSchemaComparisonService
- All Implemented Interfaces:
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
ConstructorsConstructorDescriptionHibernateSchemaComparisonService(org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory, HibernateMetadataSource metadataSource, SchemaInformationService dbSchemaInformationService) -
Method Summary
Modifier and TypeMethodDescriptionAttempt to reconcile the "expected" database schema with the "actual" schema.
-
Constructor Details
-
HibernateSchemaComparisonService
public HibernateSchemaComparisonService(org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory, HibernateMetadataSource metadataSource, SchemaInformationService dbSchemaInformationService) - Since:
- 8.0
-
-
Method Details
-
compareExpectedWithActualSchema
Description copied from interface:SchemaComparisonServiceAttempt to reconcile the "expected" database schema with the "actual" schema.- Specified by:
compareExpectedWithActualSchemain interfaceSchemaComparisonService- Throws:
Exception
-