@Transactional(readOnly=true) public interface DatabaseSchemaService
Modifier and Type | Method and Description |
---|---|
void |
generateDiffChangeLog(File outputFile)
Generate a diff changelog, from Hibernate model to database
|
void |
generateDiffReport(File outputFile)
Generate a diff report, from Hibernate model to database
|
void |
generateStatusReport(File outputFile)
Report into a file the liquibase status of database
|
Version |
getApplicationVersion() |
Version |
getDbVersion() |
boolean |
isDbExists()
Check if db files exists.
|
boolean |
isDbLoaded()
Check if connection could be open.
|
void |
updateSchema() |
Version getDbVersion()
Version getApplicationVersion()
@Transactional(readOnly=false) void updateSchema()
boolean isDbLoaded()
boolean isDbExists()
void generateStatusReport(File outputFile) throws IOException
IOException
void generateDiffReport(File outputFile) throws IOException
IOException
void generateDiffChangeLog(File outputFile) throws IOException
IOException
Copyright © 2012–2014 IFREMER. All rights reserved.