Package | Description |
---|---|
com.communote.server.core.common.database | |
com.communote.server.core.database.liquibase |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
DatabaseUpdater.doExecute(DatabaseUpdateType updateType)
Will be invoked by
DatabaseUpdater.execute(DatabaseUpdateType) to do the actual update. |
void |
DatabaseUpdater.execute(DatabaseUpdateType updateType)
Execute the given update.
|
void |
DatabaseUpdater.updateDatabase()
Executes the first and second pass updates if updates should not be skipped.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractLiquibaseDatabaseUpdater.beforeDatabaseUpdate(DatabaseUpdateType updateType)
Is called before a database update is started.
|
protected void |
AbstractLiquibaseDatabaseUpdater.doExecute(DatabaseUpdateType updateType) |
String |
LiquibaseUpdateDataProvider.getChangeLogLocation(DatabaseUpdateType updateType)
Get the classpath location of the change-log file for the update type
|
protected void |
AbstractLiquibaseDatabaseUpdater.prepareLiquibase(liquibase.Liquibase liquibase,
Map<String,Object> changeLogParameters)
Prepare the liquibase instance before doing the actual update.
|
protected void |
AbstractLiquibaseDatabaseUpdater.updateDatabase(String changeLog,
Map<String,Object> changeLogParameters)
Update the database that is returned by
AbstractLiquibaseDatabaseUpdater.getConnection() with the given change-log
file and change-log parameters. |
Copyright © 2019 Communote team. All rights reserved.