public String getName() {
return "hbm2ddl (Generates database schema)";
}
protected Exporter configureExporter(Exporter exp) {
Hbm2DDLExporter exporter = (Hbm2DDLExporter) exp;
super.configureExporter( exp );
exporter.setExport(exportToDatabase);
exporter.setConsole(scriptToConsole);
exporter.setUpdate(schemaUpdate);
exporter.setDelimiter(delimiter);
exporter.setDrop(drop);
exporter.setCreate(create);
exporter.setFormat(format);
exporter.setOutputFileName(outputFileName);
exporter.setHaltonerror(haltOnError);
return exporter;
}