Class DatabaseBuilderLauncher

java.lang.Object
org.sklsft.generator.bash.launcher.DatabaseBuilderLauncher

public class DatabaseBuilderLauncher extends Object
This class can be launched to execute your database building
Argument required :
  • the workspace folder where the "data-model" folder will be detected
  • the database name that must be declared in /data-model/datasource-context.xml Depending on the meta data that is going to be read, the main method will :
  • load the project representation
  • clean the project database
  • execute all the SQL files that have been previously generated to build your database
  • Author:
    Nicolas Thibault
    • Constructor Details

      • DatabaseBuilderLauncher

        public DatabaseBuilderLauncher()
    • Method Details

      • main

        public static void main(String[] args)
        main method to be executed
        Parameters:
        args - 0->the workspace folder where the "data-model" folder will be detected
        args - 1->the database name, declared in /data-model/datasource-context.xml