public interface JpaUpdaterProvider extends Provider
| Modifier and Type | Interface and Description |
|---|---|
static class |
JpaUpdaterProvider.Status
Status of database up-to-dateness
|
| Modifier and Type | Method and 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 database
|
JpaUpdaterProvider.Status |
validate(Connection connection,
String defaultSchema)
Checks whether Keycloak database is up to date with the most recent changesets
|
void update(Connection connection, String defaultSchema)
connection - DB connectiondefaultSchema - DB connectionJpaUpdaterProvider.Status validate(Connection connection, String defaultSchema)
connection - DB connectiondefaultSchema - DB schema to usevoid export(Connection connection, String defaultSchema, File file)
connection - DB connectiondefaultSchema - DB schema to usefile - File to write toCopyright © 2021 JBoss by Red Hat. All rights reserved.