Interface InitDatabase

All Known Implementing Classes:
PostgresInitDatabase

public interface InitDatabase
Run database initialisation when a pool can't create the initial connections (user may not exist).
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run(Connection connection, DataSourceConfig config)
    Execute some database initialisation statements on a database where the user may not exist.
  • Method Details

    • run

      void run(Connection connection, DataSourceConfig config) throws SQLException
      Execute some database initialisation statements on a database where the user may not exist.
      Parameters:
      connection - Connection obtained using the ownerUsername and ownerPassword.
      config - The datasource configuration.
      Throws:
      SQLException