Interface JpaUpdaterProvider
-
- All Superinterfaces:
Provider
- All Known Implementing Classes:
LiquibaseJpaUpdaterProvider
public interface JpaUpdaterProvider extends Provider
- Author:
- Stian Thorgersen
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
JpaUpdaterProvider.Status
Status of database up-to-dateness
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
export(Connection connection, String defaultSchema, File file)
Exports the SQL update script into the given File.void
update(Connection connection, String defaultSchema)
Updates the Keycloak databaseJpaUpdaterProvider.Status
validate(Connection connection, String defaultSchema)
Checks whether Keycloak database is up to date with the most recent changesets
-
-
-
Method Detail
-
update
void update(Connection connection, String defaultSchema)
Updates the Keycloak database- Parameters:
connection
- DB connectiondefaultSchema
- DB connection
-
validate
JpaUpdaterProvider.Status validate(Connection connection, String defaultSchema)
Checks whether Keycloak database is up to date with the most recent changesets- Parameters:
connection
- DB connectiondefaultSchema
- DB schema to use- Returns:
-
export
void export(Connection connection, String defaultSchema, File file)
Exports the SQL update script into the given File.- Parameters:
connection
- DB connectiondefaultSchema
- DB schema to usefile
- File to write to
-
-