|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DbMaintainer
Defines the contract for classes that perform automatic maintenance of a database.
updateDatabase(boolean)
operation can be used to bring the database to the latest version. The
markDatabaseAsUpToDate()
operation updates the state of the database to indicate that all scripts have been
executed, without actually executing them.
Method Summary | |
---|---|
void |
markDatabaseAsUpToDate()
This operation updates the state of the database to indicate that all scripts have been executed, without actually executing them. |
boolean |
updateDatabase(boolean dryRun)
This operation can be used to bring the database to the latest version. |
Method Detail |
---|
boolean updateDatabase(boolean dryRun)
dryRun
- if true, no updates have to be performed on the database - we do a simulation of the database update
instead of actually performing the database update.
void markDatabaseAsUpToDate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |