//config.setExceptionsEnabled(true);
getLog().info("Generating code for " + jdbcURL + " ...");
CodeGenParser parser = new CodeGenParser(config);
DBDatabase db = parser.loadDbModel();
CodeGenWriter codeGen = new CodeGenWriter(config);
codeGen.generateCodeFiles(db);
getLog().info("Code successfully generated in: " + targetDirectory);