import java.io.File;
import java.io.IOException;
-
/**
* Exporting the hibernate mapping.
- *
+ *
* @author Erik Brakkee
*/
public final class HibernateUpdater {
-/**
+ /**
* Disabled constructor.
- *
+ *
*/
private HibernateUpdater() {
// 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(file);
+ String file = aArgs[0];
+ File dir = new File(file);
- Configuration conf = HibernateUtils.getConfiguration(dir);
+ Configuration conf = HibernateUtils.getConfiguration(dir);
- SchemaUpdate lSchemaUpdate = new SchemaUpdate(conf);
+ SchemaUpdate lSchemaUpdate = new SchemaUpdate(conf);
lSchemaUpdate.execute(true, true);
}
}