Class SchemaMigrationServiceImpl
java.lang.Object
de.xima.fc.persistence.impl.schema.SchemaMigrationServiceImpl
- All Implemented Interfaces:
SchemaMigrationService
@ApplicationScoped
public class SchemaMigrationServiceImpl
extends Object
implements SchemaMigrationService
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoiddropDatabase(DataSource dataSource, String file) List<liquibase.changelog.ChangeSet> getUnrunChangesets(DataSource dataSource, String file, String contexts) voidupdateDatabase(DataSource dataSource, String file, String contexts)
-
Field Details
-
MASTER_XML
- See Also:
-
CONTEXT_PRODUCTIVE
- See Also:
-
-
Method Details
-
getUnrunChangesets
public List<liquibase.changelog.ChangeSet> getUnrunChangesets(DataSource dataSource, String file, String contexts) throws SchemaMigrationException - Throws:
SchemaMigrationException
-
updateDatabase
public void updateDatabase(DataSource dataSource, String file, String contexts) throws SchemaMigrationException - Throws:
SchemaMigrationException
-
dropDatabase
- Throws:
SchemaMigrationException
-