Interface MapJpaUpdaterProvider
- 
- All Superinterfaces:
- Provider
 - All Known Implementing Classes:
- MapJpaLiquibaseUpdaterProvider
 
 public interface MapJpaUpdaterProvider extends Provider 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classMapJpaUpdaterProvider.StatusStatus of database up-to-dateness
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidexport(Class<?> modelType, Connection connection, String defaultSchema, File file)Exports the SQL update script for the given model type into the given File.StringgetDatabaseShortName()Returns an all-lower-case short name of the used database.voidupdate(Class<?> modelType, Connection connection, String defaultSchema)Updates the Keycloak database for the given model typeMapJpaUpdaterProvider.Statusvalidate(Class<?> modelType, Connection connection, String defaultSchema)Checks whether Keycloak database for the given model type is up to date with the most recent changesets
 
- 
- 
- 
Method Detail- 
updatevoid update(Class<?> modelType, Connection connection, String defaultSchema) Updates the Keycloak database for the given model type- Parameters:
- modelType- Model type
- connection- DB connection
- defaultSchema- DB connection
 
 - 
validateMapJpaUpdaterProvider.Status validate(Class<?> modelType, Connection connection, String defaultSchema) 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:
 
 - 
exportvoid export(Class<?> modelType, Connection connection, String defaultSchema, File file) 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
 
 - 
getDatabaseShortNameString getDatabaseShortName() Returns an all-lower-case short name of the used database.
 
- 
 
-