Interface IDatabaseInitializerTool
- All Known Implementing Classes:
DatabaseInitializerTool
public interface IDatabaseInitializerTool
- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionvoidinitializeFixTables(ISchemaWriter schemaWriter) Initializes the fix tables of the database using the given schemaWriter.voidsaveSchemaTimestamp(ITime schemaTimestamp, ISqlConnection sqlConnection, String databaseName) Saves the given schemaTimestamp to the database using the given sqlConnection and databaseName.
-
Method Details
-
initializeFixTables
Initializes the fix tables of the database using the given schemaWriter.- Parameters:
schemaWriter-- Throws:
RuntimeException- if the given schemaWriter is null or closed.
-
saveSchemaTimestamp
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.
-