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,
ConfluenceSchemaHelper schemaHelper)
Deprecated.
|
HibernateSchemaComparisonService(org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory,
HibernateMetadataSource metadataSource) |
| Modifier and Type | Method and Description |
|---|---|
SchemaComparison |
compareExpectedWithActualSchema()
Attempt to reconcile the "expected" database schema with the "actual" schema.
|
@Deprecated public HibernateSchemaComparisonService(org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory, ConfluenceSchemaHelper schemaHelper)
HibernateSchemaComparisonService(SessionFactoryImplementor, HibernateMetadataSource)public HibernateSchemaComparisonService(org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory,
HibernateMetadataSource metadataSource)
public SchemaComparison compareExpectedWithActualSchema() throws Exception
SchemaComparisonServicecompareExpectedWithActualSchema in interface SchemaComparisonServiceExceptionCopyright © 2003–2023 Atlassian. All rights reserved.