org.hibernate.SessionFactory#getSchemaManager()
| Modifier and Type | Method and Description |
|---|---|
| public void | dropMappedObjects(boolean
if dropSchemas)true, drop schemas,
otherwise, leave them beDrop database objects mapped by Hibernate entities, undoing the previous export. |
| public void | exportMappedObjects(boolean
if createSchemas)true, attempt to create schemas,
otherwise, assume the schemas already existExport database objects mapped by Hibernate entities. |
| public void | truncateMappedObjects()
Truncate the database tables mapped by Hibernate entities, and then re-import initial data from any configured load script. |
| public void | validateMappedObjects()
Validate that the database objects mapped by Hibernate entities have the expected definitions. |
| dropMappedObjects | back to summary |
|---|---|
| public void dropMappedObjects(boolean dropSchemas) Drop database objects mapped by Hibernate entities, undoing the previous export.
Programmatic way to run
| |
| exportMappedObjects | back to summary |
|---|---|
| public void exportMappedObjects(boolean createSchemas) Export database objects mapped by Hibernate entities.
Programmatic way to run
| |
| truncateMappedObjects | back to summary |
|---|---|
| public void truncateMappedObjects() 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() Validate that the database objects mapped by Hibernate entities have the expected definitions.
Programmatic way to run | |