-
Nested Class Summary
Nested Classes
static enum
Status of database up-to-dateness
-
Method Summary
void
Exports the SQL update script for the given model type into the given File.
Returns an all-lower-case short name of the used database.
void
Updates the Keycloak database for the given model type
Checks whether Keycloak database for the given model type is up to date with the most recent changesets
Methods inherited from interface org.keycloak.provider.Provider
close
-
Method Details
-
update
Updates the Keycloak database for the given model type
- Parameters:
modelType
- Model type
connection
- DB connection
defaultSchema
- DB connection
-
validate
Checks whether Keycloak database for the given model type is up to date with the most recent changesets
- Parameters:
modelType
- Model type
connection
- DB connection
defaultSchema
- DB schema to use
- Returns:
-
export
Exports the SQL update script for the given model type into the given File.
- Parameters:
modelType
- Model type
connection
- DB connection
defaultSchema
- DB schema to use
file
- File to write to
-
getDatabaseShortName
Returns an all-lower-case short name of the used database.