Interface IDatabaseInitializerTool

All Known Implementing Classes:
DatabaseInitializerTool

public interface IDatabaseInitializerTool
Author:
Silvan Wyss
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Initializes the fix tables of the database using the given schemaWriter.
    void
    saveSchemaTimestamp(ITime schemaTimestamp, ISqlConnection sqlConnection, String databaseName)
    Saves the given schemaTimestamp to the database using the given sqlConnection and databaseName.
  • Method Details

    • initializeFixTables

      void initializeFixTables(ISchemaWriter schemaWriter)
      Initializes the fix tables of the database using the given schemaWriter.
      Parameters:
      schemaWriter -
      Throws:
      RuntimeException - if the given schemaWriter is null or closed.
    • saveSchemaTimestamp

      void saveSchemaTimestamp(ITime schemaTimestamp, ISqlConnection sqlConnection, String databaseName)
      Saves the given schemaTimestamp to the database using the given sqlConnection and databaseName.
      Parameters:
      schemaTimestamp -
      sqlConnection -
      databaseName -
      Throws:
      RuntimeException - if the given schemaTimestamp is null.
      RuntimeException - if the given sqlConnection is null or closed.
      RuntimeException - if the given databaseName is null or blank.