@Mixins(value=LiquibaseService.Mixin.class) public interface LiquibaseService
Modifier and Type | Interface and Description |
---|---|
static class |
LiquibaseService.ApplyChangelogActivator
Apply database changelog on application startup.
|
static class |
LiquibaseService.Mixin |
Modifier and Type | Method and Description |
---|---|
void |
applyChangelog()
Apply the configured database changelog.
|
void |
applyChangelog(Map<String,Object> parameters)
Apply the configured database changelog.
|
liquibase.Liquibase |
newConnectedLiquibase()
Creates a new Liquibase instance connected to a visible DataSource.
|
liquibase.Liquibase newConnectedLiquibase() throws SQLException, liquibase.exception.LiquibaseException
SQLException
- if something goes wrongliquibase.exception.LiquibaseException
- if something goes wrongvoid applyChangelog() throws SQLException, liquibase.exception.LiquibaseException
SQLException
- if something goes wrongliquibase.exception.LiquibaseException
- if something goes wrongvoid applyChangelog(Map<String,Object> parameters) throws SQLException, liquibase.exception.LiquibaseException
parameters
- changelog parameters, see Liquibase.getChangeLogParameters()
SQLException
- if something goes wrongliquibase.exception.LiquibaseException
- if something goes wrong