final String sql = ERXFileUtilities.stringFromInputStream(ERXFileUtilities.inputStreamForResourceNamed("world.sql", null, null));
ERXJDBCUtilities.executeUpdateScript(channel, sql);
}
catch (SQLException e) {
log.error(org.apache.commons.lang.exception.ExceptionUtils.getFullStackTrace(e), e);
throw new NSForwardException(e);
} catch (IOException e) {
log.error(org.apache.commons.lang.exception.ExceptionUtils.getFullStackTrace(e), e);
throw new NSForwardException(e);
}
return 0;
}
};
action.perform(ec, model.name());