String[] schemaActions = _schemaActions.split(",");
for (int i = 0; i < schemaActions.length; i++) {
if (!SCHEMA_ACTION_NONE.equals(schemaActions[i])
&& (_schemaWriter == null || (_schemaTool != null
&& _schemaTool.getWriter() != null))) {
SchemaTool tool = newSchemaTool(schemaActions[i]);
// configure the tool with additional settings
if (flags != null) {
tool.setDropTables(flags.dropTables);
tool.setDropSequences(flags.dropSequences);
tool.setWriter(flags.sqlWriter);
tool.setOpenJPATables(flags.openjpaTables);
}
tool.setSchemaGroup(getSchemaGroup());
tool.run();
tool.record();
}
}
// xml output of schema?
if (_schemaWriter != null) {