public static class LiquibaseService.Mixin extends Object implements LiquibaseService
LiquibaseService.ApplyChangelogActivator, LiquibaseService.Mixin
Constructor and Description |
---|
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.
|
public liquibase.Liquibase newConnectedLiquibase() throws SQLException, liquibase.exception.LiquibaseException
LiquibaseService
newConnectedLiquibase
in interface LiquibaseService
SQLException
- if something goes wrongliquibase.exception.LiquibaseException
- if something goes wrongpublic void applyChangelog() throws SQLException, liquibase.exception.LiquibaseException
LiquibaseService
applyChangelog
in interface LiquibaseService
SQLException
- if something goes wrongliquibase.exception.LiquibaseException
- if something goes wrongpublic void applyChangelog(Map<String,Object> parameters) throws SQLException, liquibase.exception.LiquibaseException
LiquibaseService
applyChangelog
in interface LiquibaseService
parameters
- changelog parameters, see Liquibase.getChangeLogParameters()
SQLException
- if something goes wrongliquibase.exception.LiquibaseException
- if something goes wrong