@Internal public final class ConfluenceSchemaCreator extends Object
Constructor and Description |
---|
ConfluenceSchemaCreator(org.hibernate.SessionFactory sessionFactory,
org.springframework.transaction.PlatformTransactionManager txManager,
HibernateMetadataSource metadataSource,
DdlExecutor ddlExecutor,
ConfluenceSchemaHelper schemaHelper) |
ConfluenceSchemaCreator(org.hibernate.SessionFactory sessionFactory,
org.springframework.transaction.PlatformTransactionManager txManager,
HibernateMetadataSource metadataSource,
DdlExecutor ddlExecutor,
Supplier<org.hibernate.cfg.Configuration> hibernateConfigRef) |
Modifier and Type | Method and Description |
---|---|
void |
createAdditionalDatabaseConstraints()
creates constraints that SchemaExport cannot automatically generate from hibernate mapping files.
|
void |
createSchema(boolean fromXmlImport) |
public ConfluenceSchemaCreator(org.hibernate.SessionFactory sessionFactory, org.springframework.transaction.PlatformTransactionManager txManager, HibernateMetadataSource metadataSource, DdlExecutor ddlExecutor, ConfluenceSchemaHelper schemaHelper)
public ConfluenceSchemaCreator(org.hibernate.SessionFactory sessionFactory, org.springframework.transaction.PlatformTransactionManager txManager, HibernateMetadataSource metadataSource, DdlExecutor ddlExecutor, Supplier<org.hibernate.cfg.Configuration> hibernateConfigRef)
public void createSchema(boolean fromXmlImport)
public void createAdditionalDatabaseConstraints()
These constraints will become active after import. Use createAdditionalInitialDatabaseConstraints()
if you need to ensure the constraints are active during import.
Copyright © 2003–2020 Atlassian. All rights reserved.