Package ca.uhn.fhir.jpa.migrate
Class SchemaMigrator
java.lang.Object
ca.uhn.fhir.jpa.migrate.SchemaMigrator
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSchemaMigrator(String theSchemaName, String theMigrationTableName, DataSource theDataSource, Properties jpaProperties, MigrationTaskList theMigrationTasks, HapiMigrationStorageSvc theHapiMigrationStorageSvc) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidmigrate()voidsetCallbacks(List<IHapiMigrationCallback> theCallbacks) voidsetDriverType(DriverTypeEnum theDriverType) voidvalidate()
-
Field Details
-
HAPI_FHIR_MIGRATION_TABLENAME
- See Also:
-
-
Constructor Details
-
SchemaMigrator
public SchemaMigrator(String theSchemaName, String theMigrationTableName, DataSource theDataSource, Properties jpaProperties, MigrationTaskList theMigrationTasks, HapiMigrationStorageSvc theHapiMigrationStorageSvc) Constructor
-
-
Method Details
-
validate
-
migrate
-
setDriverType
-
setCallbacks
-
createMigrationTableIfRequired
-