SchemaManager, backed by a SessionFactoryImplementor
and SchemaManagementToolCoordinator.
| Modifier and Type | Field and Description |
|---|---|
| private final MetadataImplementor | metadata
Deprecated
as a consequence of
MetadataImplementor being deprecated.
|
| private final SessionFactoryImplementor | sessionFactory
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| Access | Constructor and Description |
|---|---|
| public | SchemaManagerImpl(SessionFactoryImplementor sessionFactory, MetadataImplementor metadata)
Deprecated
as a consequence of
SessionFactoryImplementor and MetadataImplementor being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| public void | dropMappedObjects(boolean
if dropSchemas)true, drop schemas,
otherwise, leave them beImplements org. |
| public void | exportMappedObjects(boolean
if createSchemas)true, attempt to create schemas,
otherwise, assume the schemas already existImplements org. |
| public void | truncateMappedObjects()
Implements org. |
| public void | validateMappedObjects()
Implements org. |
| metadata | back to summary |
|---|---|
| private final MetadataImplementor metadata
Deprecated as a consequence of | |
| sessionFactory | back to summary |
|---|---|
| private final SessionFactoryImplementor sessionFactory
Deprecated as a consequence of | |
| SchemaManagerImpl | back to summary |
|---|---|
| public SchemaManagerImpl(SessionFactoryImplementor sessionFactory, MetadataImplementor metadata)
Deprecated as a consequence of | |
| dropMappedObjects | back to summary |
|---|---|
| public void dropMappedObjects(boolean dropSchemas) Implements org. Doc from org. Drop database objects mapped by Hibernate entities, undoing the previous export.
Programmatic way to run
| |
| exportMappedObjects | back to summary |
|---|---|
| public void exportMappedObjects(boolean createSchemas) Implements org. Doc from org. Export database objects mapped by Hibernate entities.
Programmatic way to run
| |
| truncateMappedObjects | back to summary |
|---|---|
| public void truncateMappedObjects() Implements org. Doc from org. Truncate the database tables mapped by Hibernate entities, and then re-import initial data from any configured load script.
Programmatic way to run
| |
| validateMappedObjects | back to summary |
|---|---|
| public void validateMappedObjects() Implements org. Doc from org. Validate that the database objects mapped by Hibernate entities have the expected definitions.
Programmatic way to run
| |