The DAL4j distribution's bin directory contains a script that can be used on a unix or windows command line to kick off the code generation process. The script is also included in the bin directory for each sample project. The script is: classgen.sh or classgen.bat
To generate code:
Unix/Cygwin: classgen.sh <yourConfigFile.xml>
DOS: classgen <yourConfigFile.xml>
Note, the syntax above will generate code for all tables configured in yourConfigFilx.xml. To generate code for a single table or view, use the following command line options:
# To genreate code for a single table. classgen -t <tableName> <yourConfigFile.xml> # To generate code for a single view. classgen -v <viewName> <yourConfigFile.xml>