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 enum 
    Status of database up-to-dateness
  • Method Summary

    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 database
    validate(Connection connection, String defaultSchema)
    Checks whether Keycloak database is up to date with the most recent changesets

    Methods inherited from interface org.keycloak.provider.Provider

    close
  • Method Details

    • update

      void update(Connection connection, String defaultSchema)
      Updates the Keycloak database
      Parameters:
      connection - DB connection
      defaultSchema - 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 connection
      defaultSchema - 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 connection
      defaultSchema - DB schema to use
      file - File to write to