import java.io.File;
import java.io.IOException;
-
/**
* Exporting the hibernate mapping.
- *
+ *
* @author Erik Brakkee
*/
public final class HibernateExporter {
-/**
+ /**
* Disabled constructor.
- *
+ *
*/
private HibernateExporter() {
// Empty
}
- /**
- * DOCUMENT ME!
- *
- * @param aArgs DOCUMENT ME!
- *
- * @throws IOException DOCUMENT ME!
- */
public static void main(String[] aArgs) throws IOException {
- String file = aArgs[0];
- File dir = new File(aArgs[1]);
+ String file = aArgs[0];
+ File dir = new File(aArgs[1]);
- Configuration conf = HibernateUtils.getConfiguration(dir);
+ Configuration conf = HibernateUtils.getConfiguration(dir);
- SchemaExport export = new SchemaExport(conf);
+ SchemaExport export = new SchemaExport(conf);
export.setDelimiter(";");
export.setOutputFile(file);
export.create(true, false);