public class LiquibaseWrapper extends Object implements AutoCloseable
| Modifier and Type | Field and Description |
|---|---|
static String |
CHANGELOG_RESOURCE |
| Constructor and Description |
|---|
LiquibaseWrapper(Connection connection)
Construct a liquibase wrapper for sql connection.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
reset() |
void |
update()
Perform liquibase update operation
|
public static final String CHANGELOG_RESOURCE
public LiquibaseWrapper(Connection connection) throws liquibase.exception.LiquibaseException
Connection.close().connection - database connectionliquibase.exception.LiquibaseException - errorpublic void update()
throws liquibase.exception.LiquibaseException
liquibase.exception.LiquibaseException - liquibase errorLiquibase.update(Contexts, LabelExpression)public void reset()
throws liquibase.exception.LiquibaseException
liquibase.exception.LiquibaseExceptionpublic void close()
throws liquibase.exception.DatabaseException
close in interface AutoCloseableliquibase.exception.DatabaseExceptionCopyright © 2014–2019 Uniklinik RWTH Aachen. All rights reserved.