Class DatabaseInitializerTool
java.lang.Object
ch.nolix.system.sqlmidschema.databaseinitializer.DatabaseInitializerTool
- All Implemented Interfaces:
IDatabaseInitializerTool
A
DatabaseInitializerTool is not mutable.- Author:
- Silvan Wyss
-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
DatabaseInitializerTool
public DatabaseInitializerTool()
-
-
Method Details
-
initializeFixTables
Initializes the fix tables of the database using the given schemaWriter.- Specified by:
initializeFixTablesin interfaceIDatabaseInitializerTool- Parameters:
schemaWriter-
-
saveSchemaTimestamp
public void saveSchemaTimestamp(ITime schemaTimestamp, ISqlConnection sqlConnection, String databaseName) Saves the given schemaTimestamp to the database using the given sqlConnection and databaseName.- Specified by:
saveSchemaTimestampin interfaceIDatabaseInitializerTool- Parameters:
schemaTimestamp-sqlConnection-databaseName-
-