throws IOException, SQLException {
// parse the schema to reverse-map
Log log = conf.getLog(OpenJPAConfiguration.LOG_TOOL);
SchemaGroup schema;
if (args.length == 0) {
log.info(_loc.get("revtool-running"));
SchemaGenerator gen = new SchemaGenerator(conf);
gen.generateSchemas();
schema = gen.getSchemaGroup();
} else {
SchemaParser parser = new XMLSchemaParser(conf);