Interface JpaUpdaterProvider
- All Superinterfaces:
org.keycloak.provider.Provider
- All Known Implementing Classes:
LiquibaseJpaUpdaterProvider
public interface JpaUpdaterProvider
extends org.keycloak.provider.Provider
- Author:
- Stian Thorgersen
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumStatus of database up-to-dateness -
Method Summary
Modifier and TypeMethodDescriptionvoidexport(Connection connection, String defaultSchema, File file) Exports the SQL update script into the given File.voidupdate(Connection connection, String defaultSchema) Updates the Keycloak databasevalidate(Connection connection, String defaultSchema) Checks whether Keycloak database is up to date with the most recent changesetsMethods inherited from interface org.keycloak.provider.Provider
close
-
Method Details
-
update
Updates the Keycloak database- Parameters:
connection- DB connectiondefaultSchema- DB connection
-
validate
Checks whether Keycloak database is up to date with the most recent changesets- Parameters:
connection- DB connectiondefaultSchema- DB schema to use- Returns:
-
export
Exports the SQL update script into the given File.- Parameters:
connection- DB connectiondefaultSchema- DB schema to usefile- File to write to
-