Class DatabaseBuilderLauncher
java.lang.Object
org.sklsft.generator.bash.launcher.DatabaseBuilderLauncher
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
Argument required :
- Author:
- Nicolas Thibault
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DatabaseBuilderLauncher
public DatabaseBuilderLauncher()
-
-
Method Details
-
main
main method to be executed- Parameters:
args
- 0->the workspace folder where the "data-model" folder will be detectedargs
- 1->the database name, declared in /data-model/datasource-context.xml
-